Rapid flashing when scrolling an MR while the right sidebar is expanded if the viewport is smaller than lg

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Reported by @clavimoniere on Sept 30th, 2025 here: https://gitlab.com/gitlab-org/gitlab/-/issues/567702#note_2789690679

Something pretty weird goes on when you try to scroll an MR while the right sidebar is expanded if the viewport is smaller than lg.

Screen Capture (trigger warning: rapid flashing)

Screen Recording 2025-09-30 at 17.32.22.mov

Edited by 🤖 GitLab Bot 🤖