Skip to main content

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.

Preparing your test
Getting the test bench ready…

How the mouse scroll test works

  1. 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.

  2. 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.

  3. 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

ReadingRuleInterpretation
Down / UpPositive deltaY / negative deltaYDirection of the browser scroll request. Does not prove that content actually moved.
Opposite eventA vertical sign opposite to your chosen one-way directionRepeat if unexpected. Intentional reversals are expected behavior, not hardware defects.
Direction changeA change of sign between consecutive vertical eventsHorizontal-only input is excluded from the vertical sequence. Trackpads and inertia can influence the pattern.
deltaMode 0pixelsRaw delta values stay in this unit bucket. No conversion to notches or combination with other units.
deltaMode 1linesRaw delta values stay in this unit bucket. No conversion to notches or combination with other units.
deltaMode 2pagesRaw delta values stay in this unit bucket. No conversion to notches or combination with other units.
Sampling referenceAt least 12 vertical eventsA convenience heuristic for inspecting the pattern. A shorter trial is inconclusive.
No vertical input / cancelledZero valid vertical events, or Cancel, hide, blur or ResetUntested. A cancellation discards the trial; no input alone does not prove a broken wheel.
Bounded trialAt most 2000 events; last 24 vertical directions drawnFinish 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?
Choose the expected on-screen scroll direction, start the trial and scroll slowly in that direction over the test area. Let the wheel stop, finish and compare the event directions. If opposite events recur when you intended one direction, compare another app, port or computer. A browser observation alone cannot isolate the cause.
Does an opposite-direction event mean my scroll wheel is broken?
No. Intentional reversal, a different natural-scrolling setting, trackpad gestures, inertia and driver behavior can produce the same pattern. Report whether you kept scrolling one way, repeat the trial and check your input settings before treating the observation as a hardware problem.
Can this count my mouse wheel notches or measure scroll distance?
No. One wheel event may represent part of a gesture, several physical steps or a smoothed input. deltaMode can report pixels, lines or pages; these units are shown separately without converting them into physical steps or a total distance.
Does this work with a trackpad or phone touchscreen?
Trackpads often generate wheel events and can be observed, but the browser cannot reliably distinguish them from mouse wheels. A phone finger swipe uses a different input path and does not test a mouse wheel; connect an external mouse or use a computer. Pinch-to-zoom / Ctrl-wheel events are excluded.
Why did the page stop scrolling during the test?
While a trial is running and the pointer is inside the test area, the page prevents the ordinary wheel scroll so you can observe input without moving the work area. Finish, Cancel or Escape ends the trial. Outside the area, page scrolling works normally.
Are my wheel readings stored or uploaded?
No. Direction history, counts, raw deltas and your observation stay in local page memory and are cleared by a fresh trial, reset or reload. Analytics may count fixed start and completion categories, without any test readings.

Sources

  1. Element: wheel eventMDN Web Docs
  2. WheelEvent: deltaMode propertyMDN Web Docs
  3. WheelEvent: deltaY propertyMDN Web Docs

Last reviewed .

A closer look at your setup