Skip to content

Conversation

@ShaneK
Copy link
Member

@ShaneK ShaneK commented Dec 23, 2025

Issue number: resolves internal


What is the current behavior?

When a modal is displayed on tablet-sized screens (>= 768px × >= 600px), the --ion-safe-area-* CSS variables are explicitly set to 0px. This was intended for inset modals that don't touch screen edges, but it breaks safe area handling on newer iPads with Face ID/home indicators, causing content to overlap with system UI elements.

What is the new behavior?

Modals now dynamically handle safe-area insets based on their type and position. This has to be done because modals that don't touch the edges cannot have a safe area applied (because it will add unnecessary padding), but modals that do touch the edges need to apply safe area correctly or the edges will be obstructed by whatever is in the safe area.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Test page

Current dev build:

8.7.15-dev.11766778555.1415245b

@ShaneK ShaneK requested a review from a team as a code owner December 23, 2025 22:29
@ShaneK ShaneK requested a review from brandyscarney December 23, 2025 22:29
@vercel
Copy link

vercel bot commented Dec 23, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
ionic-framework Ready Ready Preview, Comment Dec 26, 2025 7:03pm

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

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants