[go: up one dir, main page]

Skip to content

Scrolling in an MR diff when a large file is present will sometimes show the contents of large files rather than hide their contents

It seems the culprit here is having a big file in the diff. I understand we currently hide it by default, but scrolling is making that code non-determinist for some reason.

It also triggers page reloads and if you scroll back and forth it seems that the hidden file actually becomes visible, which messes up with the entire page. Update: a page reload doesn't seem to occur now

See video to better understand (firefox):

broken-diff-rendering-lowres

The behavior on safari is similar (as in, it's broken) but the rendering artifacts are slightly different.

The URL where the record was made: https://gitlab.com/gitlab-org/tanuki_emoji/-/merge_requests/27/diffs

Edited by Jay McCure