public enum ScrollBehaviorHow a programmatic scroll gets where it is going.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
CSSOM-View's scroll-behavior, and only its two values. It governs scrolls this control starts — ScrollIntoView, Page/Home/End — and deliberately not a drag on the bar or on the content: a smoothed drag lags the finger by the whole time constant, which reads as a dropped frame rather than as an easing, and browsers exempt direct manipulation for the same reason.
⚠ It used to say "and not the wheel", and that half was wrong for half of the wheels — it was written when the two could not be told apart. A trackpad is direct manipulation and stays exempt; a Notched wheel is a discrete request for a distance and is exactly what a browser smooths. Which of the two arrived is now on the event, so ScrollView reads it rather than assuming the worse case for both.
Fields and properties (2)
InstantJump. The initial value, and what every scroll did before the property was read.
SmoothEase, over SmoothingConstant.
Used by (1)
- ScrollViewVixen.Ui.Controls