Replies: 1 comment 1 reply
|
It's a little weird that you could have a selected disabled item. Some users would not be able to see* those items to know if they are selected or not. I suggest controlling the selectedKeys and using that to enforce the keys that should always remain selected, but keep in mind that you'll probably need to take some extra steps to ensure all users know that there are selected disabled keys that they cannot change. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
When using
useListBoxto createListBoxcomponent, the ESC clears all selected items, including disabled ones. Is this intentional behavior?The behavior comes from
useSelectableCollection.Would it make sense to create additional
escapeKeyBehaviorfor deselecting only non-disabled items?All reactions