app: try to hide autofill popups in prompt input (#20197)

This commit is contained in:
Brendan Allan 2026-04-01 16:43:03 +08:00 committed by GitHub
commit 1df5ad470a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1344,6 +1344,9 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
autocapitalize={store.mode === "normal" ? "sentences" : "off"}
autocorrect={store.mode === "normal" ? "on" : "off"}
spellcheck={store.mode === "normal"}
inputMode="text"
// @ts-expect-error
autocomplete="off"
onInput={handleInput}
onPaste={handlePaste}
onCompositionStart={handleCompositionStart}