Skip to content
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

implement pinch-to-zoom for touch screens #162

Open
tomcl opened this issue May 5, 2022 · 1 comment
Open

implement pinch-to-zoom for touch screens #162

tomcl opened this issue May 5, 2022 · 1 comment

Comments

@tomcl
Copy link
Owner

tomcl commented May 5, 2022

Describe the solution you'd like
It would be good to have gesture-based two finger zoom in addition to existing one-finger pan.

Describe alternatives you've considered
Current key-based zoom is less convenient, as is "zoom to mouse rectangle"

Additional context
npm has an easy to use (I expect) package
https://www.npmjs.com/package/pinch-zoom-js

Or, a complete implementation based on pointer events would be possible, but a lot more work.

@adidesh20
Copy link
Contributor

Pinch to zoom support would also be useful for laptop touchpads as it is more intuitive than Ctrl+Two finger scroll

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants