Phones: no AutoFill bar over text boxes, steadier scrolling above the keyboard
- Text boxes say autocomplete="off" (the forum's in the markup, any other textarea when it gets the focus), so iOS Safari does not lay its AutoFill bar (passwords, cards, addresses) over them. - KeyboardSafe scrolls at once instead of smoothly (the browser's own scroll cut the smooth one short on iOS), once more when that has settled, and keeps a little more room above the keyboard. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -55,6 +55,7 @@ export default async function SearchPage({ searchParams }: { searchParams: Promi
|
||||
id="fsearch-q"
|
||||
name="q"
|
||||
type="search"
|
||||
autoComplete="off"
|
||||
className="inp"
|
||||
defaultValue={q}
|
||||
placeholder="Mit keresel? Például: alvás, telihold, gyász"
|
||||
|
||||
@@ -187,6 +187,7 @@ export function NewThreadForm({
|
||||
onChange={(e) => withEmoji(e, setTitle)}
|
||||
maxLength={120}
|
||||
required
|
||||
autoComplete="off"
|
||||
placeholder="Adj címet a szálnak…"
|
||||
/>
|
||||
<label htmlFor="fnew-body" className="sr-only">
|
||||
@@ -200,6 +201,7 @@ export function NewThreadForm({
|
||||
onChange={(e) => withEmoji(e, setBody)}
|
||||
maxLength={10000}
|
||||
required
|
||||
autoComplete="off"
|
||||
placeholder={intent === "listen" ? "Írd le, ami benned van…" : "Írd le a gondolataidat…"}
|
||||
/>
|
||||
<div className="fnew-foot">
|
||||
|
||||
Reference in New Issue
Block a user