d3 / d3-zoom

Pan and zoom SVG, HTML or Canvas using mouse or touch input.
https://d3js.org/d3-zoom
ISC License
502 stars 143 forks source link

Zoom not working in android #175

Closed RijadR closed 5 years ago

RijadR commented 5 years ago

Hi Team, I'm using d3 V5 with zoom feature for the scroll functionality, It's working good in all platforms except Android.

When try to scroll in Android device, it will work for the first time till we remove the first touch, and will get stuck there after.

We've got the below error on debugging.

[Intervention] Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.

Please help.

mbostock commented 5 years ago

Please use Stack Overflow tag d3.js to ask for help. Stack Overflow provides a better collaborative forum: thousands of D3-related questions have been asked there, and some answers may be relevant to you.

When asking for help, please include a link to demonstrate the issue, preferably as an Observable notebook. It is often impossible to debug from code snippets alone. Isolate the issue and reduce your code as much as possible before asking for help. The less code you post, the easier it is for someone to debug, and the more likely you are to get a helpful response.

If you have a question about D3’s behavior and want to discuss it with other users, also consider the d3-js Google Group or joining the d3-js Slack.

Thank you! 🤗

AshwinTayson commented 4 years ago

I'm facing the same issue. Can this be reopened?

Fil commented 4 years ago

Yes. Please provide a link to a reproducible example?

souljorje commented 3 years ago

this can help https://github.com/d3/d3-zoom/issues/172#issuecomment-716205243