Skip to content

Fix File Browser height update on merge request tab change

What does this MR do and why?

This MR fixes File browser height doesn't update when switchi... (#433508 - closed) by listening to tab change updates on merge requests.

Screenshots or screen recordings

Before After
Screen_Recording_2024-02-12_at_16.53.56 Screen_Recording_2024-02-12_at_16.54.57

How to set up and validate locally

  1. Go to a merge request with many changed files (ensure the file browser list causes for scrollbar to appear)
  2. Go to the Changes page
  3. Go to the Overview page and scroll to the end of the page
  4. Go to the Changes page
  5. Go to the Overview page and scroll to the top of the page
  6. Go to the Changes page
  7. File browser height should be updated

Merge request reports