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 resides below top layer element like <dialog> when triggered from them #355

Open
shrilakshmishastry opened this issue Apr 27, 2024 · 1 comment

Comments

@shrilakshmishastry
Copy link

Issue

  • I have a modal that is created by . When I open toast from this modal which is a top layer element , toast resides below the modal.

Here is the screen shot

image
@alwyntan
Copy link

I think you can fix this by putting component inside a Portal that is always above the modal. There are some libraries out there to make that easier, or you can just make your own portal component.

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

No branches or pull requests

2 participants