-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Notification snackbar is below modals #52609
Comments
Snackbars do not currently support this behavior (ie. being on top of Modals and/or their overlays) because they are nested within the body of the site editor, while Modals live closer to the root of the element, as a direct child of Changes to position and z-index won't put the The first fix that comes to mind would be moving Snackbar notifications closer to |
Ah good spot! I think this definitely needs a fix then, maybe something within the modal itself. |
I'm going to close this, as I don't think it's a good idea to move the snackbars above the modals. This was also raised as part of the Font Library work, which should not be using the snackbar notifications anyway. |
Description
If there is a modal open in the editor, the notification snack bar is below instead of on top of it.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
In the screencast we can see the problem in action:
2023-07-13.17-43-40.mp4
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: