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

Touch scrolling causes console errors with latest version of React #1924

Closed
ifancyabroad opened this issue Nov 11, 2020 · 7 comments
Closed

Comments

@ifancyabroad
Copy link

With latest version of React (17.0.1), touch event on mobile is causing the following console error:

Unable to preventDefault inside passive event listener invocation.

This can be seen by using Chrome devtools and responsive mode in the following link:

https://codesandbox.io/s/react-slick-playground-forked-futdl

@mauroxdev
Copy link

I have the same issue, with React 17.0.1 and NextJS 10.0.1

@gary-imotor
Copy link

gary-imotor commented Nov 23, 2020

I have the same issue in console with React 17.0.1 and Gatsby 2.27.0.

@takeItIzzy
Copy link

same issue with react 17.0.1 ande next.js 10.0.3

@RZsam
Copy link

RZsam commented Dec 22, 2020

same here
"next": "^10.0.0",
"react": "^17.0.1",

I also tried touch-action:none in every class but didn't help

@mouadlouhichi
Copy link

I have the same issue in console with React 17.0.1

@Ali72
Copy link

Ali72 commented Jan 21, 2021

Same problem with "react": "^17.0.1".
Can you find a way to fix this issue?

@riimako
Copy link

riimako commented Nov 16, 2021

In the version 0.28 this seems to be fixed.
#1971

I updated our version of the library and it works.

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

9 participants