Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Hovering over a menu item below a selected item occludes the highlights for the selected item #33065

Open
@varungandhi-src

Description

@varungandhi-src

Please see the below video first. (Try it here: https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/code-intelligence/indexes)

Screen.Recording.2022-03-25.at.12.47.43.AM.mov

The selected menu item "Auto-indexing" has a blue ring. When the cursor hovers over "Configuration policies", which is vertically below "Auto-indexing", there is a soft highlight for the "Configuration policies" entry, which seems to have a higher z-index than the blue ring, so part of the blue ring is not seen. In contrast, when the cursor hovers over "Uploads", which is vertically above "Auto-indexing", there is a soft highlight for a "Uploads" entry, which has a lower z-index than the blue ring, so the blue ring is still fully visible without any clipping.

Arguably, the blue ring should have a z-index higher than any highlights, so that it doesn't get clipped at the edges when you hover over an item right below the selected item.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cp-core-workflowIssues for the Core workflow cross-product workestimate/1dfpt/p3Nice to have (non critical)fpt/ui-papercutfrontend-platformIssues related to our frontend platform, owned collectively by our frontend crew.sourcegraph-refinement-botspikeTime boxed investigation meant to facilitate more granular planning.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions