Mouse Scroll Test
Open the test ↓Check the wheel directions your browser receives while you scroll in one chosen direction. This mouse scroll test displays upward, downward and opposite-direction events, plus raw pixel, line or page deltas kept in separate units. Reversals can come from intentional movement, trackpad gestures, inertia or software settings; the page cannot count physical wheel notches or certify a faulty scroll encoder.
How the mouse scroll test works
Choose the direction you intend
Pick Down or Up for the on-screen scroll request, not your finger's physical movement. Natural scrolling and drivers affect the mapping. Use the actual mouse you want to check.
Scroll slowly one way
Start a trial, keep the pointer over the area and scroll in the chosen direction only. Do not reverse intentionally. Let momentum stop before finishing. Keyboard arrows and touchscreen swipes do not count as wheel input.
Review the pattern
Finish and report whether you maintained one direction. Opposite events are observations to investigate, not defects. Start a fresh trial for the other direction so the two tasks do not mix.
How wheel events are read
| Reading | Rule | Interpretation |
|---|---|---|
| Down / Up | Positive deltaY / negative deltaY | Direction of the browser scroll request. Does not prove that content actually moved. |
| Opposite event | A vertical sign opposite to your chosen one-way direction | Repeat if unexpected. Intentional reversals are expected behavior, not hardware defects. |
| Direction change | A change of sign between consecutive vertical events | Horizontal-only input is excluded from the vertical sequence. Trackpads and inertia can influence the pattern. |
| deltaMode 0 | pixels | Raw delta values stay in this unit bucket. No conversion to notches or combination with other units. |
| deltaMode 1 | lines | Raw delta values stay in this unit bucket. No conversion to notches or combination with other units. |
| deltaMode 2 | pages | Raw delta values stay in this unit bucket. No conversion to notches or combination with other units. |
| Sampling reference | At least 12 vertical events | A convenience heuristic for inspecting the pattern. A shorter trial is inconclusive. |
| No vertical input / cancelled | Zero valid vertical events, or Cancel, hide, blur or Reset | Untested. A cancellation discards the trial; no input alone does not prove a broken wheel. |
| Bounded trial | At most 2000 events; last 24 vertical directions drawn | Finish to review and start a new trial for further observation. Zoom gestures and invalid deltas are ignored. |
What this test can and can't tell you
Reliable: Browser-visible wheel telemetry Reports vertical signs, sign changes and raw deltas in the unit supplied by the browser. Collection is scoped to the test area during an explicit trial.
Estimate: A one-way comparison The chosen direction and your report of intentional movement supply context the browser cannot infer. Trackpads, natural scrolling, smoothing and drivers affect the event pattern.
Limit: No encoder diagnosis or notch counter Does not observe the physical wheel encoder, certify a repair or identify every missed step. It cannot reliably distinguish a trackpad from a mouse wheel or measure physical travel.
Questions about this test
How do I check a mouse wheel that jumps the wrong way?
Does an opposite-direction event mean my scroll wheel is broken?
Can this count my mouse wheel notches or measure scroll distance?
Does this work with a trackpad or phone touchscreen?
Why did the page stop scrolling during the test?
Are my wheel readings stored or uploaded?
Sources
- Element: wheel eventMDN Web Docs
- WheelEvent: deltaMode propertyMDN Web Docs
- WheelEvent: deltaY propertyMDN Web Docs
Last reviewed .