Skip to content
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

Toast messages are displayed underneath uui-modal-container / uui-modal-sidebar due to the use of dialogs #846

Open
Ellarddekoeijer opened this issue Jul 11, 2024 · 0 comments
Assignees
Labels
bug Something isn't working needs triage This issue has not been tested by a team member yet

Comments

@Ellarddekoeijer
Copy link

Which exact UI Library version are you using? For example: 1.0.1 - don't just write v1.

1.8.1

Bug summary

When using uui-toast-notification-container and uui-modal-container I am running into the issue that the modal dialog is always displayed on top. So the toast is not visible unless all dialogs are closed. Showing a toast message inside of a modal/sidebar seems like a common usecase to me.

Specifics

No response

Steps to reproduce

Render both a uui-toast-notification-container and uui-modal-container. Put a uui-toast-notification inside of the container and let it be kept open.

Then open a uui-modal-sidebar and notice how the Toast message will be behind it.

Expected result / actual result

My suggestion would be to use popover to implement the modals rather than dialogs. Or come with a workaround to display toast notifications over the dialogs without having to nest uui-toast-notification-container inside the dialogs.

@Ellarddekoeijer Ellarddekoeijer added bug Something isn't working needs triage This issue has not been tested by a team member yet labels Jul 11, 2024
@nielslyngsoe nielslyngsoe assigned JesmoDev and unassigned JesmoDev Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage This issue has not been tested by a team member yet
Projects
None yet
Development

No branches or pull requests

2 participants