Closed botwhytho closed 6 days ago
Before (from Discord thread). Since the zoom handler doesn't consume the event, we also get two distinct behaviors at once, zooming and AND scrolling, which is not desired.
https://github.com/feenkcom/gtoolkit/assets/21220773/eb31da0e-702f-41bc-96b1-404c00da61fb
First PR Created https://github.com/feenkcom/Bloc/pull/18
Second PR Created https://github.com/feenkcom/gtoolkit-visualizer/pull/10 (depends on first one)
@botwhytho: thank you for the contribution.
Currently, in some scenarios, like scrolling through a Lepiter page that has embedded Mondrian elements, the page scrolling is disrupted once the mouse is over a Mondrian element and the element gets zoomed in/out. This is not the desired outcome. There is also a precedent for up/down scrolling doing something different when modifiers are held, if shift is held, it enables left/right scrolling. Holding down primary while scrolling up/down would add a new dimension to this and seems to fit in with other existing UX interactions.