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

Bug: When codeblock view set to collapse true, opening one node opens all nodes underneath #546

Open
ybalkind opened this issue Apr 29, 2024 · 2 comments
Labels
bug Something isn't working view:codeblock

Comments

@ybalkind
Copy link

Describe the bug

When I set a codeblock to collapse true, then I expand one of the nodes, all the nodes underneath it also open up as well. Expected behaviour is that expanding a node just expands one level down and I manually expand nodes underneath one by one.
For a very big hierarchy it defeats the purpose of "collapse: true" if opening one node opens up all underneath

(left out the rest of the Bug template as seems unnecessary here)

@edongashi
Copy link

edongashi commented Jul 24, 2024

A root page becomes impossible because of this bug due to the overwhelming number of pages you get as soon as you open one category. I hope it gets addressed soon.

@charleshan
Copy link

charleshan commented Nov 15, 2024

I was able to fix this problem by changing the default open value of NestedEdgeList to false. It creates a side effect where "Expand" button only expands 2 levels deep. I don't mind this because I think expand all becomes messy with more than three levels down.

What do you think @SkepticMystic?

Here's the change I made: charleshan@3dfcdc5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working view:codeblock
Projects
Status: Todo
Development

No branches or pull requests

4 participants