Shun Miyazawa 4 лет назад
Родитель
Сommit
4f7b965a01
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/app/src/components/Page/TagsInput.tsx

+ 1 - 1
packages/app/src/components/Page/TagsInput.tsx

@@ -49,7 +49,7 @@ const TagsInput: FC<Props> = (props: Props) => {
   };
 
   const handleSelect = (e: React.KeyboardEvent) => {
-    if (e.key === 'Enter' || e.key === ' ') {
+    if (e.key === ' ') {
       e.preventDefault();
 
       const initialItem = tagsInputRef?.current?.state?.initialItem;