Skip to content

Fix inconsistent z-index of dropdown#3978

Draft
haumacher wants to merge 1 commit intojgthms:mainfrom
haumacher:patch-1
Draft

Fix inconsistent z-index of dropdown#3978
haumacher wants to merge 1 commit intojgthms:mainfrom
haumacher:patch-1

Conversation

@haumacher
Copy link
Copy Markdown

@haumacher haumacher commented Apr 6, 2025

The menu of an open dropdown (z-index currently 20) must be rendered below a navbar (z-index 30) but should be rendered above. Both must be rendered below a modal (z-index 4).

Using a z-index of 35 for a drowdown menu fixes the issue.

This is a bugfix.

Currently a open dropdown menu is rendered above navbar items:

grafik

Proposed solution

Tradeoffs

None known.

Testing Done

None.

Changelog updated?

No.

The menu of an open dropdown (z-index currently 20) must be rendered above a navbar (z-index 30). Both must be rendered below a modal (z-index 4).

Using a z-index of 35 for a drowdown menu fixes the issue.
firdaus-aziz added a commit to firdaus-aziz/bulma that referenced this pull request Jan 29, 2026
Increase dropdown-content-z from 20 to 35 so open dropdown menus
render above the navbar (z-index 30) but below modals (z-index 40).
firdaus-aziz added a commit to firdaus-aziz/bulma that referenced this pull request Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant