Closed steabert closed 1 month ago
Your demo is using "openItems" which specifies which items are opened and closed. If you want state to be handled internally, use defaultOpenItems.
Does this make sense, or am I missing something?
My problem is that the first item's ID is part of the openItems
, so it should be open, yet it isn't. The other items are open.
Library
React Components / v9 (@fluentui/react-components)
System Info
Are you reporting Accessibility issue?
None
Reproduction
https://stackblitz.com/edit/rlrvaz?file=src%2Fexample.tsx
Bug Description
Actual Behavior
Clicking on the top item's chevron only toggles the orientation of the chevron but it does not collapse/expand the subtree.
Expected Behavior
Clicking on the top item's chevron collapses/expands the subtree.
Logs
No response
Requested priority
Normal
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations