Sidebar collapsing while clicking on icons

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

The sidebar consisting of Explore Menu, Search Menu etc. is collapsing when you click on the menu icon up top when the tab associated to the icon is already open. This issue happens on all sidebar menu icons.

Steps to Reproduce

  • Click on Explore Menu icon in Sidebar
  • After the menu switches to Explore, click the Explore menu icon again

Expected Behavior

The sidebar should not collapse even if you click on an icon for which its associated tab is already open.

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 2.4.37
VSCode Version: 1.105.1

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This is a known regression in the 2.4 series. In the horizontal layout, the sidebar shouldn’t collapse like that. Everything worked correctly in 2.3.

The same issue is described here: Left sidebar collapses when clicking an already open tab icon (horizontal icon layout)

A temporary workaround is to switch the Activity Bar to the vertical layout:

"workbench.activityBar.orientation": "vertical"

This brings back the expected toggle behavior.

A post was merged into an existing topic: Left sidebar collapses when clicking an already-open tab icon (horizontal icon layout)