Component
Other...
Package version
3.0.0-RC.10
@microsoft/fast-element version
2.10.x
Environment
Current Behavior
You can click on an unselected a fluent tree view item to select it. And you can click on a selected fluent tree view item to unselected it. The option to not unselect a selected tree view item is missing. This is the behavior that the tree in Windows File Explorer has.
There is also no way to have an item selected and expanded at the same time.
Configuring an option means that clicking on a selected tree view item doesn't do anything.
See also microsoft/fluentui-blazor#3601
Expected Behavior
It should be possible for a parent tree item to be both selected AND expanded.
Reproduction
https://web-components.fluentui.dev/?path=/docs/components-tree--docs
Steps to reproduce
Click on 'Item 2-1-2' while having the Dev Tools open and watching the element. You can see each click toggles the selected state.
Click on 'Item 1' while having the Dev Tools open and watching the element. You can see it can only be either selected or expanded but not both.
Are you reporting an Accessibility issue?
None
Suggested severity
High - No workaround
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
Component
Other...
Package version
3.0.0-RC.10
@microsoft/fast-element version
2.10.x
Environment
Current Behavior
You can click on an unselected a fluent tree view item to select it. And you can click on a selected fluent tree view item to unselected it. The option to not unselect a selected tree view item is missing. This is the behavior that the tree in Windows File Explorer has.
There is also no way to have an item selected and expanded at the same time.
Configuring an option means that clicking on a selected tree view item doesn't do anything.
See also microsoft/fluentui-blazor#3601
Expected Behavior
It should be possible for a parent tree item to be both selected AND expanded.
Reproduction
https://web-components.fluentui.dev/?path=/docs/components-tree--docs
Steps to reproduce
Click on 'Item 2-1-2' while having the Dev Tools open and watching the element. You can see each click toggles the selected state.
Click on 'Item 1' while having the Dev Tools open and watching the element. You can see it can only be either selected or expanded but not both.
Are you reporting an Accessibility issue?
None
Suggested severity
High - No workaround
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations