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

Unable to preventDefault inside passive event listener invocation. #123

Closed
tridattran opened this issue Jan 9, 2018 · 2 comments
Closed
Assignees
Labels

Comments

@tridattran
Copy link

An error is thrown in chrome console, when swipe is used and mobile (e.g. Galaxy S5) emulation is on.

Unable to preventDefault inside passive event listener invocation.

In firefox a warning is thrown, but it is essentially the same.

Ignoring ‘preventDefault()’ call on event of type ‘touchmove’ from a listener registered as ‘passive’.

This can be replicated using the examples in code pen: e.g. Siema basic carousel https://codepen.io/pawelgrzybek/pen/xRWEpR

tridattran added a commit to tridattran/siema that referenced this issue Jan 9, 2018
@pawelgrzybek
Copy link
Owner

Hi.

Since Google Chrome introduced this "feature" this kind of error / warning showed up on majority carousel plugins. I'll sort it out at some point.

Thanks for reporting a bug. Have a great day.

@tridattran
Copy link
Author

Cool thanks.

@pawelgrzybek pawelgrzybek self-assigned this Jan 10, 2018
aczekajski pushed a commit to x-kom/siema that referenced this issue Jan 11, 2018
… it generates error messages as they need to be prevented for correct lib functionality
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

2 participants