-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dragging blocks causes the blocks pane to change size #318
Comments
So this is because we have been using the Oh the jumping itself is caused by the |
One way to easily fix this is to just set |
The only issue I see with that is that we would eventually want page scrolling similar to on 2.0, where you are alway able to scroll to the first row of sprites, even if your window is very short. The long term fix sounds like reverting #263 and do the real fix for that in scratch-blocks? |
Expected Behavior
Please describe what should happen
When I drag a block from the toolbox, nothing on the screen should move except for the block.
Actual Behavior
Describe what actually happens
When I drag a block from the toolbox, the right side of the page shifts ~20px to the left, slipping under the blocks pane.
Steps to Reproduce
Explain what someone needs to do in order to see what's described in Actual behavior above
Drag a block from the toolbox.
If you revert #263 the issue goes away, but I'm not sure what exactly introduced it, since that was so long ago. It seems to be related to the
.injectionDiv
toggling betweenoverflow: hidden
andvisible
on drags.Operating System and Browser
Chrome 57
The text was updated successfully, but these errors were encountered: