Android Chrome under viewport-fit=cover intermittently reports env(safe-area-inset-bottom) as 0 while the address bar is visible or during URL-bar collapse, causing the bottom nav to render beneath the system gesture pill. Floor the inset to 12px in MobileNavBar's own padding and the matching content-padding rules so the bar always clears the gesture area; devices that report a larger inset are unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
403 B
403 B
@runfusion/fusion
| @runfusion/fusion |
|---|
| patch |
Mobile bottom nav no longer occasionally hides behind Android Chrome's gesture pill. Chrome under viewport-fit=cover intermittently reports env(safe-area-inset-bottom) as 0 while the address bar is visible or during URL-bar collapse; the nav now floors that inset to 12px so it always clears the gesture area. Devices that report a larger inset are unaffected.