We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7dc028 commit f1fe2bbCopy full SHA for f1fe2bb
src/components/search/SearchBar/searchBar.tsx
@@ -290,7 +290,8 @@ const SearchBar = ({
290
const value = (event.target as HTMLInputElement).value;
291
// if the last character in the new string is a space, check for autocomplete
292
if (
293
- value[value.length - 1] === ' ' &&
+ (value[value.length - 1] === ' ' ||
294
+ value[value.length - 1] === ',') &&
295
// but if the user is deleting text, don't try to autocomplete
296
(event.nativeEvent as InputEvent).inputType === 'insertText'
297
) {
0 commit comments