Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fixed toolbar overlapping dynamic islands on iOS #3763

Merged
merged 3 commits into from
Nov 13, 2023

Conversation

shannah
Copy link
Collaborator

@shannah shannah commented Nov 12, 2023

The toolbar will now set the status bar as a safe area, if it creates the statusbar spacer (which it does on iOS). Otherwise the toolbar itself will be a safe area. Fixes #3761

Screenshot with this fix employed.

Before this fix:

image

After this fix:

image

The toolbar will now set the status bar as a safe area, if it creates the statusbar spacer (which it does on iOS).  Otherwise the toolbar itself will be a safe area.
Fixes #3761
@shannah
Copy link
Collaborator Author

shannah commented Nov 12, 2023

I see there are some test failures. That is due to the fact that this is pushing the position of some components down properly now to accommodate safe areas now. I need to adjust these tests.

Previously the padding units or margin units to top/left/bottom/right on a proxy style, were not being applied to the underlying styles.  Now they are.
@shannah shannah merged commit 3bd5ff3 into master Nov 13, 2023
1 check passed
@shannah shannah deleted the bugfix/3761-fixed-toolbar-safe-area branch November 13, 2023 15:08
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.

[Critical] iOS native theme does not adapt to the iPhone 'dynamic island' (which replaces the 'notch')
1 participant