-
Notifications
You must be signed in to change notification settings - Fork 121
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
Panning and zooming needs improvement #16
Comments
I had some odd snapping happening, where i'd hover and it'd snap to a different zoom level. trying to find sequential repro steps. |
The biggest problem I see is that panning doesn't account for zoom. On high zoom, slight panning moves the canvas too much. When zoomed out, panning barely moves the canvas. Another bug: once you pan, you can zoom in/out beyond the limit. Repro: 1) zoom out to |
Maybe it helps to see how https://github.com/svgdotjs/svg.panzoom.js does it. I am the Maintainer and afaik it works pretty good |
I have now moved to |
Better on desktop, but still not feels 100% natural. It's worse on mobile.
The text was updated successfully, but these errors were encountered: