Scroll to element
scroll_toBrings off-screen React Native elements into view by scrolling their container or swiping until visible; returns immediately if already on screen.
Instructions
Bring an off-screen element into view. Returns immediately when it is already visible. via: js asks the element's own scroll container to jump to it (no touch, no swipe); os swipes toward it and re-reads the layout after each swipe, stopping as soon as it appears; auto (default) tries js and names the reason when it falls back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| via | No | ||
| text | No | ||
| device | No | ||
| testID | No | ||
| max_swipes | No |