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? Sidebar collapses when navigating to link #7

Open
64bakerst opened this issue Jul 20, 2022 · 2 comments
Open

Bug? Sidebar collapses when navigating to link #7

64bakerst opened this issue Jul 20, 2022 · 2 comments

Comments

@64bakerst
Copy link

It seems that if I open a page from the sidebar, the sidebar collapses? Anyway to keep that open?

@mertbozkir
Copy link

Same for me :/

@godcl1623
Copy link

The cause of this problem seems to be related to the value of props.tree.id changing every time when navigating occurs (checked expandedNodes in FolderTree.js, line 32, by using the console).
The problem seems to be related to the use of _counter++ inside lib/utils/convertObject() as an id.

SOLUTION: I'm not sure if there is a better way, but I solved this problem by giving thisObject.name as value of id.

mrdrprofuroboros pushed a commit to mrdrprofuroboros/digital-garden that referenced this issue Dec 23, 2023
…ao#7)

* chore: ignore out dir

* chore: separate functions in node.ts and utils.ts files

* fix: unified import target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants