Skip to content

Horizontal playground: dragged block appears ~200 px to the left of cursor #870

Open
@msintov

Description

@msintov

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

  1. Edit scratch-blocks/tests/horizontal_playground.html to turn off scrollbars:
    scrollbars: false,

  2. Open scratch-blocks/tests/horizontal playground html in browser

  3. Move toolbox to the bottom by selecting "Bottom" from dropdown

  4. 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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions