Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toggling folder expansion in one tab's tree affects the tree in another tab #2257

Closed
no-more-secrets opened this issue Jun 4, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@no-more-secrets
Copy link

Description

There is some part of the opened/closed state of a folder that is being shared by trees in multiple tabs (though they are not visually in sync).

Neovim version

v0.9.1

Operating system and version

Pop!_OS

nvim-tree version

latest

Minimal config

If you're unable to reproduce let me know and I will provide a minimal config.

Steps to reproduce

To reproduce:

  1. Open two tabs, and open nvim-tree in both.
  2. In tab 1, expand folder xyz (pick a folder that exists for you).
  3. Go to tab 2 and try to expand the same folder, nothing happens. // bug
  4. Try again on tab 2 to expand that folder, and it expands.
  5. Close the folder on tab 2, it works.
  6. Go to tab 1 and try closing that folder, does not work the first time. // bug
  7. Try again in tab 1 to close the folder, it works.

The bug manifests in steps 3 & 6.

Expected behavior

No response

Actual behavior

No response

@alex-courtis
Copy link
Member

alex-courtis commented Jun 4, 2023

Thanks for raising, definitely a known issue.

Added to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants