Skip to content

Passive event listener error on mobile on drag #3371

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

Closed
athenatan opened this issue Dec 24, 2018 · 3 comments · Fixed by #4231
Closed

Passive event listener error on mobile on drag #3371

athenatan opened this issue Dec 24, 2018 · 3 comments · Fixed by #4231
Labels
bug something broken

Comments

@athenatan
Copy link

athenatan commented Dec 24, 2018

Hi,
I got this error from trying to scroll on bar chart surface (on mobile platforms).
Unable to preventDefault inside passive event listener due to target being treated as passive.
Also, this makes the hover doesn't work as well.
How to fix this ?
Thank you.

@athenatan athenatan changed the title Passive event listener error from Plotly 1.4.1 Passive event listener error from Plotly 1.4.1 (Mendix) Dec 24, 2018
@etpinard
Copy link
Contributor

etpinard commented Dec 24, 2018

Could you share the "data" / "layout" you used to generate the graph in question? Thank you.

@autukill
Copy link

Test with Chrome's Device Mode:

passive event

@etpinard
Copy link
Contributor

etpinard commented Jan 2, 2019

Thanks @autukill

@etpinard etpinard changed the title Passive event listener error from Plotly 1.4.1 (Mendix) Passive event listener error on mobile on drag Jan 2, 2019
@etpinard etpinard added the bug something broken label Jan 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants