Only link to top in work item sticky header when not in a drawer
What does this MR do and why?
The link to #top in a work item sticky header will break drawer
functionality and also won't actually scroll the user back to the top of the work item drawer. This MR removes that link while preserving styling and
preserving the link to top behavior when the work item is not opened in
a drawer.
References
Screenshots or screen recordings
| Before | After |
|---|---|
| Screen_Recording_2025-08-12_at_12.13.11 | Screen_Recording_2025-08-12_at_12.12.29 |
How to set up and validate locally
- Check out this branch
- Visit a work item list page or board -- any page where a work item can be opened in a drawer.
- Open a work item in a drawer.
- Scroll down so that the sticky header appears on the work item drawer
- hover over the work item title in the sticky header
- You will see that it is not a link
- Click the expand button to open the work item in a full page view
- scroll down so that the sticky header appears
- hover over the title in the sticky header
- you will see that it is a link, and clicking on it will scroll back to the top of the work item page (this is current prod behavior)
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.