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
{{ message }}
Repository navigation
Add momentum/kinetic scrolling for mouse wheel input
#1665
Sioyek already has smooth_scroll support, which works well, but I noticed that scrolling with a traditional ratcheted mouse wheel still feels somewhat segmented. I suspect this is because each mouse wheel detent generates an individual scroll event. Sioyek smoothly animates each event, but they are still treated seperately. This creates a "chunky" feeling compared to apps like modern web browsers where wheel input appears to be accumulated into a continuous scrolling velocity.
Would it be possible to add an optional "kinetic" or "momentum" scrolling mode that accumulates mouse wheel events and applies inertia/friction? The goal would be to make traditional mouse wheels behave more like touchpads and modern browsers, where multiple small scroll inputs blend together into a continuous motion. I believe this would especially improve the experience for users with standard ratcheted scroll wheels, where the hardware cannot provide high-resolution scrolling events.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Sioyek already has smooth_scroll support, which works well, but I noticed that scrolling with a traditional ratcheted mouse wheel still feels somewhat segmented. I suspect this is because each mouse wheel detent generates an individual scroll event. Sioyek smoothly animates each event, but they are still treated seperately. This creates a "chunky" feeling compared to apps like modern web browsers where wheel input appears to be accumulated into a continuous scrolling velocity.
Would it be possible to add an optional "kinetic" or "momentum" scrolling mode that accumulates mouse wheel events and applies inertia/friction? The goal would be to make traditional mouse wheels behave more like touchpads and modern browsers, where multiple small scroll inputs blend together into a continuous motion. I believe this would especially improve the experience for users with standard ratcheted scroll wheels, where the hardware cannot provide high-resolution scrolling events.
Thank you for your consideration!
All reactions