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

non-passive onWheel #1

Closed
vallsv opened this issue Jul 13, 2021 · 1 comment
Closed

non-passive onWheel #1

vallsv opened this issue Jul 13, 2021 · 1 comment

Comments

@vallsv
Copy link
Owner

vallsv commented Jul 13, 2021

Mouse wheel over the knob do not prevent page scroll.

onScroll in React is now a passive callback.

As result preventDefault is inhibited.

Ignoring ‘preventDefault()’ call on event of type ‘wheel’ from a listener registered as ‘passive’.

This have to be changed to a non-passive one.

@vallsv
Copy link
Owner Author

vallsv commented Jul 16, 2021

Closed by fd61598

@vallsv vallsv closed this as completed Jul 16, 2021
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

1 participant