Skip to content

Commit

Permalink
fix(FilterableMultiSelect): a few more UX tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan committed Feb 17, 2023
1 parent 00a61d2 commit f4923ff
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ const FilterableMultiSelect = React.forwardRef(function FilterableMultiSelect(
clearInputValue();
event.stopPropagation();
} else if (!isOpen) {
clearInputValue();
clearSelection();
event.stopPropagation();
}
Expand All @@ -321,6 +322,7 @@ const FilterableMultiSelect = React.forwardRef(function FilterableMultiSelect(
},
onBlur: () => {
setInputFocused(false);
setInputValue('');
},
});

Expand Down

0 comments on commit f4923ff

Please sign in to comment.