lethargy-ts
π Distinguish between intentional wheel events and inertial scrolling (by snelsi)
lethargy
Distinguish between scroll events initiated by the user, and those by inertial scrolling (by d4nyll)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
lethargy-ts | lethargy | |
---|---|---|
2 | 1 | |
60 | 547 | |
- | - | |
5.2 | 10.0 | |
7 days ago | over 4 years ago | |
TypeScript | CoffeeScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
lethargy-ts
Posts with mentions or reviews of lethargy-ts.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-19.
-
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.
lethargy
Posts with mentions or reviews of lethargy.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-19.
-
Lethargy-TS β A Modern Typescript Rewrite of the `lethargy` inertia scroll detection library
I found a relatively popular library called `lethargy` that can determine whether a scroll was intentional, but it had a few issues. It has no TypeScript types, and its scroll checking logic had some drawbacks, resulting in invalidating of a lot of scroll events at some point.
What are some alternatives?
When comparing lethargy-ts and lethargy you can also consider the following projects:
svelte-gesture - π Bread n butter utility for component-tied mouse/touch gestures in Svelte.
uievents - UI Events
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!