Skip to content

Add test using safe area padding#57

Open
dfabulich wants to merge 1 commit intoskiptools:mainfrom
dfabulich:safe-area-padding
Open

Add test using safe area padding#57
dfabulich wants to merge 1 commit intoskiptools:mainfrom
dfabulich:safe-area-padding

Conversation

@dfabulich
Copy link
Contributor

This new playground has a ScrollView that ignores the safe area, but measures the incoming safeAreaInsets with a GeometryReader. We then re-add those insets as padding to the VStack.

We've also included buttons to show/hide the navigation bar, tab bar, and bottom bar, ensuring that every combination works correctly.

This allowed me to repro issues that @aabewhite reported on #297.

Skip Pull Request Checklist:

  • REQUIRED: I have signed the Contributor Agreement
  • REQUIRED: I have tested my change locally with swift test
  • OPTIONAL: I have tested my change on an iOS simulator or device
  • OPTIONAL: I have tested my change on an Android emulator or device

@cla-bot cla-bot bot added the cla-signed label Jan 19, 2026
This new playground has a ScrollView that ignores the safe area, but measures the incoming safeAreaInsets with a GeometryReader. We then re-add those insets as padding to the VStack.

We've also included buttons to show/hide the navigation bar, tab bar, and bottom bar, ensuring that every combination works correctly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant