-
Notifications
You must be signed in to change notification settings - Fork 9.7k
fix: ensure Dialog modals render above popovers and edit overlays #5091
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 |
|---|---|---|
|
|
@@ -8,7 +8,7 @@ | |
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| z-index: 100; | ||
| z-index: 2000; | ||
|
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. Raising the shared |
||
| animation: dialog-backdrop-fade-in 160ms ease-out; | ||
| } | ||
|
|
||
|
|
||
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.
This only raises the CSS-module backdrop used by
@open-design/components/Dialog; the Settings dialog still renders a plain<div className="modal-backdrop">inapps/web/src/components/SettingsDialog.tsx, and that global class remains atz-index: 100inapps/web/src/styles/workspace/mention-home.css. In the Settings path called out by this fix, any existing overlay/popover in the 1500–1900 tier can still paint above Settings, so the reported modal-ordering bug remains unless the global Settings backdrop is raised too or Settings is migrated onto the sharedDialog.Useful? React with 👍 / 👎.