Skip to content

Incorrect z-index for Popover on top of SubNavListItem #5799

Open
@zaviermiller

Description

@zaviermiller

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:

Image showing that the menu popover for marketplace search is underneath the navlist items with subnav items

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

  1. Visit https://github.com/marketplace?type=apps&copilot_app=true
  2. Click the search bar and begin typing 'category'
  3. Click on the category item that appears in the popover
  4. Notice that the items from the popover are underneath the nav items with sub nav items.

Version

37.9.1

Browser

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreact

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions