fix(dashboard): keep mobile nav bar pinned when iOS keyboard opens
The visualViewport ICB compensation (intended for Android ICB-stuck-large and pinch-zoom) was also reacting to iOS soft-keyboard shrinkage, pushing the mobile bottom nav up above the keyboard. Pass the existing `keyboardOpen` prop through to a `mobile-nav-bar--keyboard-open` modifier class that pins `bottom: 0` so the keyboard simply covers the bar. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
5
.changeset/fix-mobile-nav-keyboard-shift.md
Normal file
5
.changeset/fix-mobile-nav-keyboard-shift.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@runfusion/fusion": patch
|
||||
---
|
||||
|
||||
Mobile (iOS): the bottom navigation bar no longer slides up when the on-screen keyboard appears. The viewport-compensation offset that pulls fixed elements back into the visible area (intended for Android ICB quirks / pinch-zoom) was also being driven by the keyboard's shrunken `visualViewport.height` on iOS, pushing the nav bar above the keyboard. The nav now ignores that offset while `keyboardOpen` is true and stays pinned at the page bottom — the keyboard simply covers it.
|
||||
Reference in New Issue
Block a user