Fix auto-scrolling to hash on Markdown files
What does this MR do and why?
Fixes scrolling to the URL hash when viewing Markdown files
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
No auto-scrolling to the heading | Auto-scrolls to the heading |
![]() |
![]() |
How to set up and validate locally
- Open a large Markdown file sample.md
- Select the anchor in one of the headings
- Refresh the page
- The page should auto-scroll to the selected heading
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #417496 (closed)
Edited by Jacques Erasmus