svelte-gesture
lethargy-ts
svelte-gesture | lethargy-ts | |
---|---|---|
1 | 2 | |
36 | 31 | |
- | - | |
6.3 | 4.2 | |
2 months ago | 8 months ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
svelte-gesture
lethargy-ts
-
Lethargy-TS β A Modern Typescript Rewrite of the `lethargy` inertia scroll detection library
I made a library called "lethargy-ts" to solve the issue of scroll inertia on laptops and phones. I faced this problem while developing a website with full-page scrolling. Laptops like Macs spam scroll events even after the user has swiped, which results in scrolling two or three sections instead of just one.
What are some alternatives?
react-zoom-pan-pinch - πΌ React library to support easy zoom, pan, pinch on various html dom elements like <img> and <div>
lethargy - Distinguish between scroll events initiated by the user, and those by inertial scrolling
react-indiana-drag-scroll - React component which implements scrolling via holding the mouse button or touch
uievents - UI Events
core - Renderer for TLDraw and maybe you, too.
ChromeTabMouse-Chrome-Tab-Mouse - ChromeTab let you switch `tab`, transfer tabs, change current selected `tab` only with the `mousewheel` scrolls, while being able to continue to navigate or keep current `tab` in the view, keep `control` can or should interfere with others shortcuts or tabbar shortcuts, but no.
use-gesture - πBread n butter utility for component-tied mouse/touch gestures in React and Vanilla Javascript.
mac-mouse-fix - Mac Mouse Fix - Make Your $10 Mouse Better Than an Apple Trackpad!