Skip to content

fix: Toast - keep the hidden attachment above the iOS 26 bottom tab bar - #4064

Merged
yedidyak merged 2 commits into
fix/View_useSafeArea_iOSfrom
fix/Toast_attachment_safe_area_iOS26
Nov 3, 2026
Merged

yedidyak merged 2 commits into
fix/View_useSafeArea_iOSfrom
fix/Toast_attachment_safe_area_iOS26

Conversation

@yedidyak

@yedidyak yedidyak commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Description

On iOS 26 with the Liquid Glass tab bar, apps can draw screen content behind a floating translucent bottom tab bar. While an incubator Toast is hidden, its renderAttachment content (for example a bottom action bar) is rendered in a plain positioned View at the bottom of the screen, so on a tab screen it sits under the bar.

On iOS 26 and later that attachment container now uses useSafeArea, so it stays inside the safe area, which includes the tab bar on screens that draw behind it. Android, web and iOS < 26 are unchanged.

Stacked on #4052: it relies on #4052's iOS 26 View useSafeArea (React Native's position-aware SafeAreaView), which insets only the edge the attachment touches. Retarget to master once #4052 merges.

Validated with yarn build:dev, lint, and the Toast tests.

Changelog

Toast - on iOS 26 and later, the attachment shown while the toast is hidden stays above translucent bottom tab bars.

Additional info

Part of the iOS 26 Liquid Glass work in Wix apps, with #4052 and #4063.

On iOS 26 and later the attachment rendered while the toast is hidden uses useSafeArea, so it stays inside the safe area instead of under a translucent tab bar. Android, web and iOS < 26 are unchanged.
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

✅ PR Description Validation Passed

All required sections are properly filled out:

  • ✅ Description
  • ✅ Changelog
  • ✅ Additional info

Your PR is good for review! 🚀


This validation ensures all sections from the PR template are properly filled.

@yedidyak
yedidyak merged commit db73e50 into fix/View_useSafeArea_iOS Nov 3, 2026
2 of 3 checks passed
@yedidyak
yedidyak deleted the fix/Toast_attachment_safe_area_iOS26 branch November 3, 2026 12:56
@yedidyak

yedidyak commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator Author

Folded into #4052.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant