Sidebar keeps expanding during navigation on an iPad with Safari

Summary

When using an iPad with Safari to navigate GitLab, the sidebar on the left keeps expanding, even after the uses collapses it.

Steps to reproduce

  1. Browse any GitLab repo from an iPad running Safari (In my video example, I used https://gitlab.com/gitlab-com/www-gitlab-com/).
  2. Tap "Collapse sidebar" on the bottom left, notice the sidebar collapse.
  3. Tap on any file to navigate to it.
  4. Notice the sidebar has now uncollapsed. I would expect it to stay collapsed.

Example Project

This seems to happen on all projects.

What is the current bug behavior?

The sidebar keeps on expanding when a user is navigating using Safari on an iPad.

What is the expected correct behavior?

I would expect the sidebar to stay collapsed after a user explicitly taps the "Collapse sidebad"

Relevant logs and/or screenshots

Please see video below: gitlab-ipad

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

This bug happens on GitLab.com

Results of GitLab application Check

This bug happens on GitLab.com

Possible fixes

I have attempted to recreate this issue locally on a laptop, but am unable to. I assume the fix lies in some frontend code.

Assignee Loading
Time tracking Loading