Disclosure arrow does not disappear when folder becomes empty in UncontrolledTreeEnvironment #436
Unanswered
zerolhs-tech
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi! Would need to see the code for this, the default renderers only render the chevron icon if the item is marked as a folder, but maybe you are also using a custom |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’m using UncontrolledTreeEnvironment with a custom dataProvider.
When I move items around (via drag and drop), sometimes a folder that used to have children becomes empty.
When I log getTreeItem, I can clearly see that isFolder: false and children: [] are returned.
However, in the UI the disclosure arrow (▼) is still shown for that item, even though it has no children anymore.
I would appreciate any guidance on how to resolve this issue.
Beta Was this translation helpful? Give feedback.
All reactions