Skip to content

Fix iOS PWA safe-area insets on detail panel, dialogs, mobile chrome#66

Merged
MrSuttonmann merged 2 commits into
mainfrom
ios-pwa-detail-panel-safe-area
May 6, 2026
Merged

Fix iOS PWA safe-area insets on detail panel, dialogs, mobile chrome#66
MrSuttonmann merged 2 commits into
mainfrom
ios-pwa-detail-panel-safe-area

Conversation

@MrSuttonmann
Copy link
Copy Markdown
Owner

The detail panel close button rendered under the iPhone status bar in PWA standalone mode because the prior sidebar safe-area handling didn't extend to the fullscreen mobile detail panel. Same root cause in centred s (max-height ignored insets) and Leaflet/toast controls in compact-mode mobile.

MrSuttonmann and others added 2 commits May 4, 2026 21:54
The detail panel close button rendered under the iPhone status bar in
PWA standalone mode because the prior sidebar safe-area handling
didn't extend to the fullscreen mobile detail panel. Same root cause
in centred <dialog>s (max-height ignored insets) and Leaflet/toast
controls in compact-mode mobile.
Follows the safe-area pattern from 045a915: the toast stack and
Leaflet's corner control containers also pin to viewport edges, so
they need the same env(safe-area-inset-*) handling to clear the iPhone
notch / home indicator in PWA standalone mode (compact mode hides the
sidebar so the map fills the screen, exposing the controls).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@MrSuttonmann MrSuttonmann merged commit e538200 into main May 6, 2026
11 checks passed
@MrSuttonmann MrSuttonmann deleted the ios-pwa-detail-panel-safe-area branch May 6, 2026 10:13
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.

1 participant