feat: add disabling "selection" for parent node fast-tree-item's with child nodes. #5448
Labels
area:fast-foundation
Pertains to fast-foundation
closed:obsolete
No longer valid
status:needs-investigation
Needs additional investigation
warning:stale
No recent activity within a reasonable amount of time
🙋 Feature Request
We would like to support a tree-view with parent tree-items that are not selectable, but is still able to open and close, w3, to access the child elements and select them instead.
🤔 Expected Behavior
From https://explore.fast.design/components/fast-tree-view
😯 Current Behavior
Disabled/Selectable currently affects entire tree.
💁 Possible Solution
Selectable?
attribute🔦 Context
Our implementation example is a "teams-channel-picker", we have teams as the parents, and teams's channels as the child nodes. Teams aren't selectable, but the channels are. See the mgt storybook teams-channel-picker for example functionality.
Disabled functionality doesn't support this, as we still want the child nodes selectable.
💻 Examples
Sample, red is not selectable:
The text was updated successfully, but these errors were encountered: