react
react copied to clipboard
Incorrect z-index for Popover on top of SubNavListItem
Description
There is a bug with the new Marketplace search functionality where our navigation items that have a sub-list are appearing over the search popover.
Here is a screenshot:
The expected behavior of this page is that the popover and its elements appear on top of the list.
I have tracked the issue down to this line, and it appears that there has been a different PR that addressed a similar issue here.
Playing around in devtools shows the isolation fix from the PR does work here. Happy to open a PR to fix this!
Steps to reproduce
- Visit https://github.com/marketplace?type=apps&copilot_app=true
- Click the search bar and begin typing 'category'
- Click on the category item that appears in the popover
- Notice that the items from the popover are underneath the nav items with sub nav items.
Version
37.9.1
Browser
No response
@zaviermiller I want to work on this issue. Can you please guide which branch to clone.?
Next steps would be to investigate the bug and figure out how much effort this would be
Thanks for creating this issue @zaviermiller!
Playing around in devtools shows the isolation fix from the PR does work here. Happy to open a PR to fix this!
We'd definitely appreciate a PR if you have the time, but if not I can follow up with one! :grin:
I couldnt reproduce this bug:
Uh oh! @KirankumarAmbati, at least one image you shared is missing helpful alt text. Check https://github.com/primer/react/issues/5799#issuecomment-2986970600 to fix the following violations:
- Images should have meaningful alternative text (alt text) at line 3
Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image.
Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs.
🤖 Beep boop! This comment was added automatically by github/accessibility-alt-text-bot.
I am also no longer able to reproduce this bug. Please reopen or comment with repro steps if this is still occurring 🙏🏻