Tree Component: Inconsistent Parent Node Indeterminate State Behavior #1457
Unanswered
lanzosuarez
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I've noticed an inconsistency with the indeterminate state behavior in the Tree component. The issue manifests differently depending on the selection order:
When selecting a child first:
Parent node remains unchecked, doesn't enter indeterminate state
When selecting parent first, then unselecting a child:
Parent correctly enters indeterminate state
Is this intentional?
Expected Behavior:
The parent node should enter indeterminate state in both scenarios when some (but not all) children are selected, regardless of selection order.
Has anyone encountered this issue or have insights on how to achieve consistent indeterminate state behavior?
Let me know if you need any clarification or additional information about my setup.
Here's my code:
Beta Was this translation helpful? Give feedback.
All reactions