-
Notifications
You must be signed in to change notification settings - Fork 216
Description
The tables in https://open-ui.org/components/select#events-1 suggest that either Enter key or Spacebar can be used to open the select's listbox when the popup is closed. If the listbox is opened (and contains focus), either Enter key or Spacebar can be used to close it.
The behavior I observe in browsers is a bit different:
Chromium: Either Enter or Spacebar can open the listbox. Only Enter can close it.
Firefox: Only Spacebar can open the listbox. Only Enter can close it.
Safari: Only Spacebar can open the listbox. Either Enter or Spacebar can close it.
Is there any particular reason to prefer any of these? My preference is to keep the current behavior at https://open-ui.org/components/select#events-1, but since all these browsers are different maybe there's some reason to be more restrictive that I'm not understanding.