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

onZoomStart is not called when using zoom via pinch on mobile. #631

Closed
airwalk741 opened this issue Mar 11, 2022 · 3 comments
Closed

onZoomStart is not called when using zoom via pinch on mobile. #631

airwalk741 opened this issue Mar 11, 2022 · 3 comments
Labels

Comments

@airwalk741
Copy link

airwalk741 commented Mar 11, 2022

onZoomStart is not called when using zoom via pinch on mobile_web.

OnZoomStart is called when zooming with the mouse wheel, but not when using pinch on mobile_web.

https://codesandbox.io/s/vue-chart-3-chart-js-issue-template-forked-ce6dtz?file=/src/App.vue

("zoom start" warning window does not appear)

@Isaac96SM
Copy link

I'm also having this issue. Is it planned to be solved soon?

@kurkle
Copy link
Member

kurkle commented Nov 17, 2024

Fixed by #810

@kurkle kurkle closed this as completed Nov 17, 2024
@romor
Copy link

romor commented Nov 25, 2024

When returning false in the onZoomStart() callback, the zoom operation should be cancelled according to documentation.

However, the pinch event is not cancelled for me and the zoom is done although it should be aborted.

Thus, I think this ticket shall not be closed as it is not completely finished.

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

No branches or pull requests

4 participants