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

onWheel is a passive listener #625

Closed
wants to merge 1 commit into from

Commits on Dec 14, 2022

  1. onWheel is a passive listener

    onWheel should be a passive listener so it does not significantly slow down scrolling. It also resolves issue react-component#425 such that Chrome does not log a message to the console:
    ```
    useTouchMove.js:154 [Violation] Added non-passive event listener to a scroll-blocking 'wheel' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
    ```
    rickwargo authored Dec 14, 2022
    Configuration menu
    Copy the full SHA
    5e20870 View commit details
    Browse the repository at this point in the history