Expo UI and Router for iOS
Modifiers

geometryGroup

Isolates the geometry (e.g. position and size) of the view from its parent view.

geometryGroup()

iOS 17+

Isolates the geometry (e.g. position and size) of the view from its parent view.

Returns: ModifierConfig

See: Official SwiftUI documentation.

Example

<VStack modifiers={[animation(Animation.spring(), isBusy)]}>
  {isBusy ? <Text>Working…</Text> : null}
  <Button label="Check now" modifiers={[geometryGroup()]} />
</VStack>

Works with

This modifier works with any view. These components accept it:

Sources

The original Expo docs for this page:

On this page