-
-
Notifications
You must be signed in to change notification settings - Fork 142
[scroll area] Handle touch momentum scrolling for programmatic scroll check #2111
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
[scroll area] Handle touch momentum scrolling for programmatic scroll check #2111
Conversation
commit: |
Bundle size reportTotal Size Change: 🔺+55B(0.00%) - Total Gzip Change: 🔺+39B(+0.01%) Show details for 41 more bundles@base-ui-components/react parsed: 🔺+28B(+0.01%) gzip: 🔺+13B(+0.01%) |
✅ Deploy Preview for base-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
What problem does it solve? Momentum scrolling can last for much more than 100ms - is it enough to treat everything after this duration as programmatic scroll? |
@michaldudak |
Since touch devices lack
onWheel
the scrolling state is unset while in momentum scroll phase: #1908