Closed jontro closed 5 years ago
I added the CSS property touch-action: none;
to my slider style and that stopped the warning. Was suggested here: https://stackoverflow.com/questions/42101723/unable-to-preventdefault-inside-passive-event-listener
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Chrome gives the following warning when using the latest version of react-slider. [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080 e @ react-slider.js:17 _onTouchMove @ react-slider.js:506