Skip to content

Fix scroll to line number

Jacques Erasmus requested to merge 356789-scroll-to-line-number into master

What does this MR do and why?

Fixes the scroll to line number bug in the blob viewer.

Related to #356789 (closed)

Screenshots or screen recordings

Screen_Recording_2022-04-07_at_09.40.14.2022-04-07_09_42_29

How to set up and validate locally

  1. Open a file with many lines
  2. Select a line number towards the end of the file
  3. Refresh the page
  4. The line number should scroll into view

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading