Clicking on Labels in Issues sidebar is navigating the page '#'
Summary
(Summarize the bug encountered concisely)
Steps to reproduce
- Open any issues that you have permission to edit
- Scroll down to the bottom of the issue page
- Click
Labels
in the sidebar and select one label - The page will scroll again to
#
Relevant logs and/or screenshots
https://www.loom.com/share/1da66df8da7d44e8b7fb86b29a395b21
Output of checks
This bug happens on GitLab.com
Possible fixes
Remove href
link for the label that we select
- <a href="#" data-label-id="10482849" class="label-item"><span class="dropdown-label-box" style="background: #428BCA"></span> 🚧 WIP</a>
+ <a data-label-id="10482849" class="label-item"><span class="dropdown-label-box" style="background: #428BCA"></span> 🚧 WIP</a>
Removing href will not show cursor pointer
In style, sheet add
.label-item {
cursor: pointer;
}