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

Dialog has z-Index, no need for it #44077

Open
i23098 opened this issue Oct 12, 2024 · 0 comments
Open

Dialog has z-Index, no need for it #44077

i23098 opened this issue Oct 12, 2024 · 0 comments
Assignees
Labels
component: dialog This is the name of the generic UI component, not the React module! status: waiting for maintainer These issues haven't been looked at yet by a maintainer

Comments

@i23098
Copy link

i23098 commented Oct 12, 2024

Steps to reproduce

Link to live example: https://stackblitz.com/edit/github-u6qlmh?file=src%2FApp.js

Steps:

  1. Click the "SHOW ERROR" button

Current behavior

The error message shows behind the MUI Dialog

Expected behavior

The error message shows on top of the MUI Dialog

Context

Trying to use other components that don't rely on zIndex as it never should be used.

If I force the creation of the MUI Dialog with no zIndex, it works fine:

      <Dialog open={true} sx={{zIndex: 'auto'}}>

but I think that it should be the default behaviour to not have a zIndex!

Your environment

No response

Search keywords: dialog zIndex z-index

@i23098 i23098 added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Oct 12, 2024
@zannager zannager added the component: dialog This is the name of the generic UI component, not the React module! label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: dialog This is the name of the generic UI component, not the React module! status: waiting for maintainer These issues haven't been looked at yet by a maintainer
Projects
None yet
Development

No branches or pull requests

3 participants