-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Update flyout to have scroll mode/better behavior than drag angle #206
Comments
@drigz @rachel-fenichel That way, once you start scrolling, your finger can even leave the pane altogether and keep scrolling. This is the most natural touch behavior. I think once we switch to this mode-based system, whether we use angle or vertical offset should be mostly irrelevant. Rodrigo, if you have the time and want to give a shot at implementing that, that would be great. Otherwise, I'll have to get to it sometime in the next few weeks :) |
@tmickel yeah, I like that a lot better. |
* Add flyout dragMode_ and function to determine intention * A click on the block rect is also checked for mode
This includes both block drags and workspace scrolls and fixes google#404. I used isDragging rather than checking the origin of click so that it can easily be extended to the case where the flyout is scrolled by dragging a block, a la scratchfoundation/scratch-blocks#206.
This includes both block drags and workspace scrolls and fixes #404. I used isDragging rather than checking the origin of click so that it can easily be extended to the case where the flyout is scrolled by dragging a block, a la scratchfoundation/scratch-blocks#206.
Using the angle of the drag has some bugs. Can we use offset, or will that have its own bugs?
@carljbowman
The text was updated successfully, but these errors were encountered: