CodeEdit icon indicating copy to clipboard operation
CodeEdit copied to clipboard

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

Open austincondiff opened this issue 3 years ago • 3 comments

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: bb373d99ddd7c91e31d6fd5a75d96db4fdbb9b3a MacOS: 12.5 (21G72) Xcode: 13.4.1 (13F100)

austincondiff avatar Aug 03 '22 22:08 austincondiff

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

Muhammed9991 avatar Oct 02 '22 07:10 Muhammed9991

https://user-images.githubusercontent.com/806104/219513228-726f2a33-9fc9-4b88-a3f6-9a9d49a683ea.mp4

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

austincondiff avatar Feb 16 '23 23:02 austincondiff