Expo UI and Router for iOS
Modifiers

scrollTargetLayout

Configures a layout container as a scroll target layout for view-aligned snapping. Apply to VStack or HStack inside a ScrollView.

scrollTargetLayout()

iOS 17+

Configures a layout container as a scroll target layout for view-aligned snapping. Apply to VStack or HStack inside a ScrollView.

Returns: ModifierConfig

See: Official SwiftUI documentation.

Works with

Sources

The original Expo docs for this page:

On this page