← Back to release summary

Wheel event momentum

Category
User input
Type
Chromium catches up
Status
Proposed (Chrome Proposed)
Intent stage
None

Summary

The wheel events on many native platforms simulate scrolling inertia: the events continue to fire for a while after the user has lifted the finger from the trackpad after a fling interaction. This feature exposes a momentum attribute in wheel events which is true only for those simulated events, differentiating them from the events fired during the physical scroll interaction. This lets web developers ignore fling events or customize rich fling effects.

Standards & signals

Samples: https://codepen.io/mustaqahmed/full/MYjGMVG

View on chromestatus.com