wiki:Scrolling

Version 2 (modified by Simon Fraser, 5 years ago) (diff)

--

Scrolling

The scrolling architecture is unexpectedly complex, because it's feature-rich, and required to provide smooth scrolling independent of main thread work in as many situations as possible.

Scrollable areas

Scrolling features

Rubber-banding ("bouncing")

Latching

Scroll snapping

Touch-action

Coordinated scrolling

Non-fast-scrollable regions

ScrollingCoordinator

The scrolling trees

ScrollingStateTree

Tree structure, frame boundaries

Node unparenting and reparenting

ScrollingTree