Review Menu Shown Behind #13056

Closed
opened 2025-11-02 10:28:54 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @metiftikci on GitHub (May 28, 2024).

Originally assigned to: @kerwin612 on GitHub.

Description

after #31062 popup menu shown behind if section collapsed

all headers are sticky and their z-index are same. so upper menu cant visible on front

4fe415683e/templates/repo/diff/box.tmpl (L113)

if i decrease z-index of second header it work but i believe this is not the correct solution

Screenshots

image

Edit:

Github uses extra class for menu's header

image

Gitea Version

latest

Can you reproduce the bug on the Gitea demo site?

No

Operating System

No response

Browser Version

latest

Originally created by @metiftikci on GitHub (May 28, 2024). Originally assigned to: @kerwin612 on GitHub. ### Description after #31062 popup menu shown behind if section collapsed all headers are sticky and their `z-index` are same. so upper menu cant visible on front https://github.com/go-gitea/gitea/blob/4fe415683e685838fde4e11f14f0309bbadb36e4/templates/repo/diff/box.tmpl#L113 if i decrease z-index of second header it work but i believe this is not the correct solution ### Screenshots ![image](https://github.com/go-gitea/gitea/assets/29250154/7b300e83-2253-4e44-a908-cd5397be4d36) Edit: Github uses extra class for menu's header ![image](https://github.com/go-gitea/gitea/assets/29250154/15dc60c8-ee54-4982-960f-992311a23738) ### Gitea Version latest ### Can you reproduce the bug on the Gitea demo site? No ### Operating System _No response_ ### Browser Version latest
GiteaMirror added the type/bugtopic/ui labels 2025-11-02 10:28:54 -06:00
Author
Owner

@silverwind commented on GitHub (May 28, 2024):

Ideally such menus shouldn't be z-fighting with the page elements in first place and this could be achieved by using tippy dropdown instead of fomantic dropdown.

@silverwind commented on GitHub (May 28, 2024): Ideally such menus shouldn't be z-fighting with the page elements in first place and this could be achieved by using tippy dropdown instead of fomantic dropdown.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13056