Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Commit

Permalink
fixes multiselection using keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
tinkertrain committed Aug 9, 2022
1 parent aad2bcc commit 9a8d44b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/DropList/DropList.downshift.common.js
Expand Up @@ -33,6 +33,8 @@ export function stateReducerCommon({
}

case `${COMBOBOX}.${useCombobox.stateChangeTypes.ControlledPropUpdatedSelectedItem}`:
return { ...changes, inputValue: state.inputValue }

case `${COMBOBOX}.${useCombobox.stateChangeTypes.InputKeyDownEnter}`:
case `${COMBOBOX}.${useCombobox.stateChangeTypes.ItemClick}`:
case `${SELECT}.${useSelect.stateChangeTypes.MenuKeyDownEnter}`:
Expand Down

0 comments on commit 9a8d44b

Please sign in to comment.