Resolve "Clicking line anchor multiple times causes scroll position to over-correct"
What does this MR do?
Fixes odd scrolling behavior when clicking line number anchors in a file view.
Are there points in the code the reviewer needs to double check?
Why was this MR needed?
Screenshots (if relevant)
Before:
After:
Does this MR meet the acceptance criteria?
- Tests
-
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Closes #27254 (closed)

