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

Zoom ends when mouse leaves #49

Open
edwh opened this issue May 5, 2022 · 2 comments
Open

Zoom ends when mouse leaves #49

edwh opened this issue May 5, 2022 · 2 comments

Comments

@edwh
Copy link

edwh commented May 5, 2022

On desktop, if you have moveType pan, and move your mouse outside the area, then the zoom ends.

If you're zooming to look at something in the corner of the image, this is easily done by accident. It would be nice to have an option to stop this happening.

Thanks for the library.

@laurenashpole
Copy link
Owner

Hey @edwh, thanks for the input! Right now the zoom out is a UX choice to avoid any jumping when the user hovers back into the image but, for the next update, I'll give persisting the image a try to see how it feels in action. I'll let you know if that option makes it in.

@edwh
Copy link
Author

edwh commented Sep 9, 2022

Thank you.

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