Skip to content

Fix height issues with mobile nav and mobile presenter dialog on iOS#313

Merged
Malechus merged 1 commit intomainfrom
fix/ios-height-issues
Sep 22, 2025
Merged

Fix height issues with mobile nav and mobile presenter dialog on iOS#313
Malechus merged 1 commit intomainfrom
fix/ios-height-issues

Conversation

@jarebearzilla
Copy link
Copy Markdown
Contributor

@jarebearzilla jarebearzilla commented Sep 22, 2025

Problem

On iOS Safari, the mobile navigation menu was being cut off at the bottom of the screen. This happens because iOS Safari has a bottom toolbar that dynamically appears and disappears as users scroll. When using 100vh (viewport height), CSS doesn't account for this dynamic toolbar, causing content to be hidden behind it.

Examples:

image

image

Solution

  • Replaced 100vh with 100dvh (dynamic viewport height) in mobile navigation and presenter dialogs
  • 100dvh automatically adjusts to the actual visible viewport area, accounting for iOS Safari's dynamic UI elements

@Malechus Malechus merged commit b3f1239 into main Sep 22, 2025
@Malechus Malechus deleted the fix/ios-height-issues branch September 22, 2025 01:39
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.

2 participants