React-slick: Touch scrolling causes console errors with latest version of React

Created on 11 Nov 2020  路  6Comments  路  Source: akiran/react-slick

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

Most helpful comment

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

All 6 comments

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

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

same issue with react 17.0.1 ande next.js 10.0.3

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

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

I have the same issue in console with React 17.0.1

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

Was this page helpful?
0 / 5 - 0 ratings