Skip to content

🐞 Sidebar tab panel state is not retained when returning to it from another tab #711

Description

@austincondiff

Description

Any sidebar tab panel needs to retain the state it was in before navigating away to a new sidebar tab panel. This applies to both the left navigator sidebar and the right inspector sidebar.

To Reproduce

  1. Make sure you are in the Project Navigator
  2. Expand a few folders
  3. Scroll down
  4. Open the Find Navigator
  5. Open the Project Navigator
  6. Notice folders previously expanded are now collapsed and scroll position is at the top.

Expected behavior

Folders that were previously expanded should remain expanded and scroll position should be as you left it upon returning to the sidebar tab panel.

Version information

CodeEdit: 1.0
Hash: bb373d9
MacOS: 12.5 (21G72)
Xcode: 13.4.1 (13F100)

Activity

  1. changed the title [-]🐞 State is not retained when returning to the Project Navigator from another Navigator[/-] [+]🐞 Sidebar tab panel state is not retained when returning to it from another tab[/+] on Aug 3, 2022
  2. theMuslimDev commented on Oct 2, 2022

    @theMuslimDev
    Contributor

    Can you upload a video of whats happening. I can't replicate it.

  3. austincondiff commented on Feb 16, 2023

    @austincondiff
    CollaboratorAuthor
    Screen.Recording.2023-02-16.at.5.44.24.PM.mp4

    It looks like the folders remain expanded but your selection and scroll position gets reset.

  4. moved this from 🆕 New to 📋 Todo in CodeEdit Projecton Feb 16, 2023
  5. austincondiff commented on Apr 19, 2025

    @austincondiff
    CollaboratorAuthor

    This issue still exists today...

    Screen.Recording.2025-04-18.at.11.04.21.PM.mov
  6. Borisserz commented on Aug 1, 2026

    @Borisserz

    Taking this — I'll look into retaining navigator/inspector sidebar panel state (expansion + scroll) when switching between sidebar tabs, and open a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    UIThis is UI relatedbugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions