slider
slider copied to clipboard
Chrome / Edge giving error "Unable to preventDefault inside passive event listener invocation." on testing mobile view
I'm working on a company project where the amount of handles vary by an option picked from a dropdown. When trying to modify the styles to fit for mobile views, I happen to see this behaviour on Chrome / Edge, but on Firefox it just shows a warning. It only happens when mobile view of Chrome inspector is activated. I'm pretty sure I have not changed any value concerning { touch-action }. When I check some examples from https://slider-react-component.vercel.app/demo/range, I see that it gives no error at all. Is it because of the version of React I'm using ? The react version I'm using is 17.0.2. Is there a possible way to fix it ?
A further question, in case of failing to make this error disappear, Is it ok to ignore it ?
I have the exact same issue. Please let us know if there is a way to fix it.