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

[Bug]: Menu options appear beneath Dialog #402

Open
1 task done
gdeyoung3 opened this issue Jun 10, 2022 · 1 comment
Open
1 task done

[Bug]: Menu options appear beneath Dialog #402

gdeyoung3 opened this issue Jun 10, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@gdeyoung3
Copy link
Contributor

Terms

Describe the Problem

A Menu component (such as a ButtonMenu) within a Dialog will never display its options. This appears to be because the menu options themselves have no z-index, whereas the Dialog does.

It looks like a z-index is erroneously applied to the control that opens the menu, rather than the div which holds the options.

A mountpoint other than body, the default, can be specified, but in this case that seems like a workaround rather than the solution. Even within an arbitrary mountpoint, the menu options should appear above other contents.

Environment

No response

Web Browsers

No response

Operating Systems

No response

Logs

No response

@gdeyoung3
Copy link
Contributor Author

gdeyoung3 commented Jun 10, 2022

I was about to open a PR, but I'm having key issues at the moment. I'll try again once that's resolved.

gdeyoung3 pushed a commit to gdeyoung3/ninjakit that referenced this issue Jun 10, 2022
@uipoet uipoet added the bug Something isn't working label Jun 16, 2022
uipoet pushed a commit that referenced this issue Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants