Skip to content

Fix toast notification can not be closed#38

Open
Franck-Boost wants to merge 3 commits intomainfrom
v16/fix-bug/toast-notification-close
Open

Fix toast notification can not be closed#38
Franck-Boost wants to merge 3 commits intomainfrom
v16/fix-bug/toast-notification-close

Conversation

@Franck-Boost
Copy link

Prerequisites

  • I have added steps to test this contribution in the description below

If there's an existing issue for this PR then this fixes

Description

This PR fixes umbraco#16486

Reason:
The showModal() method of the HTMLDialogElement interface displays the dialog as a modal, over the top of any other dialogs that might be present. That's why toast-notification (popover ) stays non-interactive despite appearing above the modal.
Solution:
When the dialog is opened, move the umb-backoffice-notification-container inside the dialog so that the notification can be interacted with, and when the dialog is closed, move the notification back out to the DOM.

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.

V14-RC5: Toast notification can't be closed when shown above overlay

2 participants