profiler icon indicating copy to clipboard operation
profiler copied to clipboard

The sidebar should start out closed on mobile for all panels, not just the panel that's visible on load

Open mstange opened this issue 7 months ago • 0 comments

After the fix from #5464, it seems that we only change the sidebar open state for the panel that's initially selected.

Steps to reproduce:

  1. Open a profile where the call tree tab is selected on load, on a mobile screen size. Example profile, main branch
  2. Switch to the marker table pane.

Expected results:

The sidebar should also be closed by default in the marker table.

Actual results:

Switching to the marker table tab causes the sidebar to open.

The same happens in reverse: Loading a link to /marker-table and switching to the call tree opens the sidebar. Or if you load a link to the flame graph tab, switching to either call tree or marker table opens the sidebar.

@Carla-Moz

┆Issue is synchronized with this Jira Task

mstange avatar May 22 '25 13:05 mstange