Issue: tree component: parent node collapsed on child node collapse. #2730
-
I have disable expandOnClicl and added custom click event handler on branch indicator. https://stackblitz.com/edit/eszc99cn?file=src%2FApp.tsx,src%2FTreeView.tsx&showSidebar=0 But I found some weird behaviour of collapse/expand. To reproduce it, go to specified url, then expand "node_modules", then expand "@types", then collapse "@types", and you will see that "node_modules" collapsed also. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
the problem was i used nodeState.valuePath instead of nodeState.value. |
Beta Was this translation helpful? Give feedback.
Got it. Updated the docs as needed.