Menu not showing up when app is on fullscreen
See original GitHub issueI’m using react-full-screen
to provide fullscreen functionality to my project. Noticed that, when on fullscreen mode, a Menu component I’m showing up on a button click won’t show up. My Menu looks something like this:
<Menu anchorEl={anchorEl} open={isOpen} onClose={handleClose}>
<MenuItem onClick={() => handleMenuClick('general')}>General</MenuItem>
<MenuItem onClick={() => handleMenuClick('appearance')}>
Appearance
</MenuItem>
<MenuItem onClick={() => handleMenuClick('sound')}>Sound</MenuItem>
</Menu>
If I inspect the DOM I can see the
- element there, is just that it won’t show up on the screen. Tried changing the z-index and position properties but didn’t work. Any idea?
- This is not a v0.x issue.
- I have searched the issues of this repository and believe that this is not a duplicate.
- Install react-full-screen
- Implement a < Menu >
- Try to open it on fullscreen mode. Link: CodeSandbox Page to test fullscreen
Expected Behavior 🤔
Menu should show up when on fullscreen mode.
Current Behavior 😯
Not showing up.
Steps to Reproduce 🕹
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Menu bar does NOT appear in FULLSCREEN APPS
I experience the same problem, but I found a workaround by using command key "Ctrl + F2" or "Ctrl + F8". It then...
Read more >Menu not showing up when app is on fullscreen · Issue #15618
I'm using react-full-screen to provide fullscreen functionality to my project. Noticed that, when on fullscreen mode, a Menu component I'm ...
Read more >How to Make Your Mac's Menu Bar Stay Visible in Full Screen ...
in the dropdown menu. Click the Dock & Menu Bar icon in the preference pane. Make sure Dock & Menu Bar is selected...
Read more >11 Ways to Fix the Windows Taskbar Showing in Fullscreen
1. Try Minimizing or Maximizing the Apps ... Click on the app icon in the taskbar which still displays the bar while in...
Read more >Missing apps in full-screen display setting - XDA Forums
Go to app info from the launcher or recents screen (hold the top bar of the app for a second till you see...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I found theme composition/default props to work well for me here:
Admittedly I came up with this fairly quickly but it appears to be working well for me.
Update: I was able to mostly solve this by using the
container
prop on thePopover
component. This will prevent pop over components from being appended todocument.body
and instead append them to the container element specified.