diff --git a/src/pages/main.tsx b/src/pages/main.tsx index 845b2be..ef9abbb 100644 --- a/src/pages/main.tsx +++ b/src/pages/main.tsx @@ -62,14 +62,16 @@ const Input = ({ onStart }) => { onFocus={() => setInfocuse(true)} ref={inputRef} onClick={(event) => { - event.preventDefault(); - event.stopPropagation(); - inputRef.current.blur(); + if (keyboardFeature) { + event.preventDefault(); + event.stopPropagation(); + inputRef.current.blur(); + } }} id="input" autoComplete="off" /> - setInfocuse(true)} /> + {keyboardFeature && setInfocuse(true)} />}