The React Spectrum Combobox handles tab key selection as follows
If the cursor is over an item, that item will be selected
If the cursor is not over the popover, and the user has used keyboard navigation to select an item, that item will be selected
If the cursor is not over the popover, and the user has not used keyboard to select an item, no selection change will occur
We are finding the 3rd bullet to be confusing to users in the case they have searched for an item and there is only 1 result. Most users would expect hitting tab would select it. As-is, no selection change occurs and it is not intuitive the user would need to hover. We should discuss what the behavior should be here and determine the appropriate place to make any changes (Spectrum or DH)
Note that this will be important for supporting dh.ui deephaven/deephaven-plugins/issues/201
It will also need to be applied to the ACL Editor as well which currently uses the SearchableCombobox component.
The React Spectrum Combobox handles tab key selection as follows
We are finding the 3rd bullet to be confusing to users in the case they have searched for an item and there is only 1 result. Most users would expect hitting tab would select it. As-is, no selection change occurs and it is not intuitive the user would need to hover. We should discuss what the behavior should be here and determine the appropriate place to make any changes (Spectrum or DH)
Note that this will be important for supporting dh.ui deephaven/deephaven-plugins/issues/201 It will also need to be applied to the ACL Editor as well which currently uses the
SearchableCombobox
component.