Przeglądaj źródła

fix(app): disable 3 safari prompt-input annoyances (#12558)

Devin Griffin 2 tygodni temu
rodzic
commit
fb331f6cb8
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      packages/app/src/components/prompt-input.tsx

+ 3 - 0
packages/app/src/components/prompt-input.tsx

@@ -990,6 +990,9 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
             aria-multiline="true"
             aria-label={placeholder()}
             contenteditable="true"
+            autocapitalize="off"
+            autocorrect="off"
+            spellcheck={false}
             onInput={handleInput}
             onPaste={handlePaste}
             onCompositionStart={() => setComposing(true)}