mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
fixed a bug that context menu goes outside the script region, causing scrollbar showing up. (#857)
This is because the position of context menu is determined by its height + the mouse y position; When this max-height is in effect, it prevents blockly to calculate the actual height of the menu with menu items. see https://github.com/LLK/scratch-gui/issues/111
This commit is contained in:
parent
06fa507dbb
commit
12c8031c1b
1 changed files with 0 additions and 1 deletions
|
@ -815,7 +815,6 @@ Blockly.Css.CONTENT = [
|
|||
'position: absolute;',
|
||||
'overflow-y: auto;',
|
||||
'overflow-x: hidden;',
|
||||
'max-height: 100%;',
|
||||
'z-index: 20000;', /* Arbitrary, but some apps depend on it... */
|
||||
'}',
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue