You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error Unable to preventDefault inside passive event listener invocation. is shown in console when using the Slider and its "onDragEnd" property in a responsive mobile screen with touch functionality.
Scroll down to the Slider component and the first example
Click "View Code"
Remove the "onChange" handler but keep the "onDragEnd" and make sure it has code so that it should log the values to the console.
Drag the slider value
See no values being reported in the console but instead the error [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive.
Expected behavior
The value being reported.
Screenshots
OS (please complete the following information):
Device: MacOS
OS: 10.15.7
Browser: Chrome
Version: 90.0.4430.212 (Official Build) (x86_64)
Additional context
No problem with using the Slider in non-responsive desktop mode.
Describe the bug
Error
Unable to preventDefault inside passive event listener invocation.
is shown in console when using the Slider and its "onDragEnd" property in a responsive mobile screen with touch functionality.To Reproduce
Steps to reproduce the behavior:
[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive.
Expected behavior
The value being reported.
Screenshots
OS (please complete the following information):
Additional context
No problem with using the Slider in non-responsive desktop mode.
cc https://github.com/olczake
The text was updated successfully, but these errors were encountered: