-
Notifications
You must be signed in to change notification settings - Fork 191
fix(layout): keep confirmation dialogs above map-control panels (#451) #461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1190,7 +1190,8 @@ export function DesktopShell({ | |
| </SectionErrorBoundary> | ||
| ) : null} | ||
| <main | ||
| className={`relative min-w-0 flex-1 overflow-hidden ${ | ||
| // `isolate` creates a stacking context so map-panel z-indexes (up to 10000) stay below body-portaled dialogs. See #451. | ||
| className={`relative isolate min-w-0 flex-1 overflow-hidden ${ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Potential mobile regression for
Before this fix those fixed dropdowns had After this fix In practice this is low-risk because on mobile those panels cover the whole map area and a user is unlikely to have both a map-control dropdown and a mobile overlay panel open simultaneously. But it is a change in z-order that wasn't called out in the PR description and wasn't covered by the Playwright causal test, so it is worth confirming with a manual smoke-test on a mobile viewport.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks - this is an accepted, intentional consequence of the containment fix rather than a regression to patch. The whole point of |
||
| layoutOptions.compact ? "min-h-0" : "min-h-72 md:min-h-0" | ||
| }`} | ||
| > | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nit: the comment says "up to 10000" but the PR description (and the basemap control's actual CSS) cites
z-index: 1000. The order of magnitude difference could mislead a future reader. Consider using the documented value or a loose upper-bound phrasing: