Variable: ControlledScrollView
constControlledScrollView:ForwardRefExoticComponent<ControlledScrollViewProps&RefAttributes<ControlledScrollViewRef>>
A ControlledScrollView component for Ink applications.
Remarks
This is a lower-level component that handles the complex logic of:
- Rendering children within a virtual viewport.
- Continuously measuring child heights.
- Calculating total content height.
- Managing viewport wrapping adjustments (
marginTop).
It is “controlled” because it does not maintain its own scroll state; it purely renders
based on the provided scrollOffset prop. This allows for flexible parent-controlled behavior.