Prevent scrolling to clicked lines in Rapid Diffs
What does this MR do and why?
This MR removes scrolling when a diff line number is clicked.
Screenshots or screen recordings
| Before | After |
|---|---|
| Screen_Recording_2025-06-20_at_07.21.26 | Screen_Recording_2025-06-20_at_07.18.39 |
How to set up and validate locally
- Enable
rapid_diffsandrapid_diffs_on_mr_show - Visit any merge request
- Select 'Changes' tab
- Add
?rapid_diffs=trueto the URL, follow it - Click on any diff line number
- Observe no scrolling