Function

useTimelineScrollTop

Hook to subscribe directly to scroll top position changes. Bypasses root-level context state updates for smooth vertical navigation.

Signature

Type Definition
useTimelineScrollTop(): number

Returns

number

The current scroll top offset in pixels.