Shun Miyazawa před 4 roky
rodič
revize
4f7b965a01
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;