From a622d30b39ea07dae8d7cef19972acd673177230 Mon Sep 17 00:00:00 2001 From: feco Date: Thu, 26 Nov 2026 17:14:45 +0000 Subject: [PATCH] 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 Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL --- .../frontend/src/app/forum/kereses/page.tsx | 1 + .../src/app/forum/uj/NewThreadForm.tsx | 2 ++ .../frontend/src/components/KeyboardSafe.tsx | 33 ++++++++++++------- .../src/components/forum/Composer.tsx | 1 + 4 files changed, 26 insertions(+), 11 deletions(-) diff --git a/services/frontend/src/app/forum/kereses/page.tsx b/services/frontend/src/app/forum/kereses/page.tsx index 1949e45..6336ba0 100644 --- a/services/frontend/src/app/forum/kereses/page.tsx +++ b/services/frontend/src/app/forum/kereses/page.tsx @@ -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" diff --git a/services/frontend/src/app/forum/uj/NewThreadForm.tsx b/services/frontend/src/app/forum/uj/NewThreadForm.tsx index 32c76cd..4ce19f8 100644 --- a/services/frontend/src/app/forum/uj/NewThreadForm.tsx +++ b/services/frontend/src/app/forum/uj/NewThreadForm.tsx @@ -187,6 +187,7 @@ export function NewThreadForm({ onChange={(e) => withEmoji(e, setTitle)} maxLength={120} required + autoComplete="off" placeholder="Adj címet a szálnak…" />