Description
Description
In the branch selection dropdown in the repo page, there are tabs shown for "Branches" and "Tags" and these tabs themselves are hyperlinks, including the active tab, and they change appearance on mouseover but clicking on the active tab does nothing (the target is just #
). This is somewhat confusing and breaks the expectations that browser's UI cues create for hyperlinks. I initially expected the "Branches" tab when clicked to go to /branches
, but there's already a link on the repo page for doing this across the top bar.
In the equivalent UI on github, the tabs do not highlight on mouseover because they are not links, so there's no confusion that clicking the active one does nothing. (Roughly, it is a <div><button><span>Branches</span></button></div>
.)
Screenshots

Gitea Version
1.23.0
Can you reproduce the bug on the Gitea demo site?
Yes
Operating System
macOS
Browser Version
Safari 18.2