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

Popup opens behind MUI Dialog #320

Open
Ploppz opened this issue Aug 22, 2022 · 2 comments
Open

Popup opens behind MUI Dialog #320

Ploppz opened this issue Aug 22, 2022 · 2 comments

Comments

@Ploppz
Copy link

Ploppz commented Aug 22, 2022

Version

2.0.5

Test Case

https://codesandbox.io/s/eloquent-voice-c239pn?file=/src/App.js

Expected Behavior

The popup should be visible

Actual Behavior

The popup is partially occluded by the Dialog

@shnigi
Copy link

shnigi commented Sep 8, 2022

Have similar problem, popup appears behind Storybook menu.

@Ploppz
Copy link
Author

Ploppz commented Nov 25, 2022

@shnigi We found a way to solve it.
On the popup component in React, or with CSS referencing the class of the popup element, set z-index to a very high number that is higher than that of the Dialog. We went with zIndex:"100000000"

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