Fix RecycleScroller empty sizes call

What does this MR do and why?

Fixes a call to an empty sizes map inside RecycleScroller.

Bug identified here.

Screenshots or screen recordings

Before After
Screen_Recording_2025-04-25_at_19.11.13 Screen_Recording_2025-04-25_at_19.10.37

How to set up and validate locally

  1. Enable rapid_diffs and rapid_diffs_on_mr_show feature flags
  2. Go to any merge request
  3. Select 'Changes'
  4. Add ?rapid_diffs=true to the URL, follow it
  5. Shrink your viewport to 700 pixels wide
  6. Toggle file browser
  7. Observe no errors in the console

Merge request reports

Loading