Open msintov opened 7 years ago
@rachel-fenichel Do you have any thoughts on this?
Probably an issue in this function: https://github.com/LLK/scratch-blocks/blob/develop/core/flyout_horizontal.js#L389
Is this with categories or with a simple toolbox?
Thanks for asking. It's with categories.
Probably related: https://github.com/google/blockly/issues/728
Expected Behavior
Block should appear under cursor during drag.
Actual Behavior
Block appears about ~200px to the left of cursor during drag.
Steps to Reproduce
Edit scratch-blocks/tests/horizontal_playground.html to turn off scrollbars: scrollbars: false,
Open scratch-blocks/tests/horizontal playground html in browser
Move toolbox to the bottom by selecting "Bottom" from dropdown
Select a block with your mouse and drag it to the workspace
Actual results: block appears ~200px to the left of your cursor Expected results: block appears under cursor
Note: This issue appears to only affect the initial drag out from toolbox. After the initial drag out from the toolbox, the block DOES correctly appear under the cursor during the drag.
Operating System and Browser
Mac OS 10.11.6 Chrome 57