asvd/dragscroll
micro library for drag-n-drop scrolling style observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4182
- days_rel: n/a
- days_push: 839
- n_releases_24m: 0
Adoption not part of the score
1115 stars · 162 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A tiny (910 bytes minified) dependency-free JavaScript library that enables click-and-hold drag scrolling on any scrollable element. It works by adding a 'dragscroll' class to elements and is distributed as a UMD module via npm or Bower.
Use cases
- make a large scrollable area draggable with the mouse
- enable drag-to-scroll on a webpage body
- scroll a div by clicking and holding instead of using the scrollbar
- add grab-style panning to image or map viewers
- allow scrolling by dragging empty space while keeping text selectable
When to choose
- you need a tiny, dependency-free drag-scroll solution in vanilla JavaScript
- you want click-and-hold scrolling on any scrollable container or the whole page
- you need something that works anywhere without a framework
When to avoid
- you need touch/mobile drag scrolling or momentum/inertia effects
- you need text selection with the mouse in the draggable area
- you want a full-featured scroll or pan library with advanced options
Facets
library · maturity maintenance
ui-components developer-tools web-development frontend browser drag-scroll micro-library vanilla-javascript no-dependencies mouse-interaction javascript
3 sources
- readme: https://github.com/asvd/dragscroll · fetched 2026-08-28 · 66fb0cec03a9
- homepage: http://asvd.github.io/dragscroll/ · fetched 2026-08-29 · 283b7de633b8
- registry_npm: https://registry.npmjs.org/dragscroll · fetched 2026-08-29 · 6f2015e4a494
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| asvd/dragscroll | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem