You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifically for MultiTypeaheadSelect, but maybe applies to other selects as well. The onKeyDown handler of the text input in the toggle has behavior set for the enter key but doesn't prevent the default behavior, and doesn't allow the user to override that if the menu is closed. If the menu is open, the user can hook into the event via onSelectionChange. We should either have the option of adding additional keyboard handling to this handler, or pass the event through onToggle.
Workaround - pass an onKeyDown handler to the outer menu toggle via toggleProps that has handling for the key (in this case enter).
The text was updated successfully, but these errors were encountered:
Specifically for MultiTypeaheadSelect, but maybe applies to other selects as well. The
onKeyDown
handler of the text input in the toggle has behavior set for the enter key but doesn't prevent the default behavior, and doesn't allow the user to override that if the menu is closed. If the menu is open, the user can hook into the event viaonSelectionChange
. We should either have the option of adding additional keyboard handling to this handler, or pass the event throughonToggle
.Workaround - pass an
onKeyDown
handler to the outer menu toggle viatoggleProps
that has handling for the key (in this case enter).The text was updated successfully, but these errors were encountered: