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

OverflowMenuItem, used inside a Modal appears behind the Modal #8693

Closed
1 of 2 tasks
sj-rai opened this issue May 16, 2021 · 0 comments · Fixed by #8694
Closed
1 of 2 tasks

OverflowMenuItem, used inside a Modal appears behind the Modal #8693

sj-rai opened this issue May 16, 2021 · 0 comments · Fixed by #8694

Comments

@sj-rai
Copy link
Contributor

sj-rai commented May 16, 2021

What package(s) are you using?

  • carbon-components
  • carbon-components-react

Detailed description

When an overflow menu is used inside the modal, the menu options render behind the modal.

Issue is related to Modal, OverflowMenu components

The modal has a z-index of 9000, and the overflow menu item has a z-index of 6000, this is causing the overflow menu option to display behind the modal.

Chrome

Tried with version carbon-components-react 7.33.0, 7.35.0

Additional information

  • Screenshots or code

Screenshot 2021-05-13 at 12 53 54

  • Notes

I found this issue, #6753, which is a similar issue, but for tooltip instead of overflow menu options.

This was fixed in #6757, I can create a similar fix and create a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants