From 4de77ceb4a935e064f908ac3ff21fbbc83c1a202 Mon Sep 17 00:00:00 2001 From: Rye Date: Wed, 4 Mar 2026 22:28:44 +0100 Subject: [PATCH 1/4] fix(auth): disable auto-capitalization for server and username inputs --- src/app/pages/auth/ServerPicker.tsx | 2 ++ src/app/pages/auth/login/PasswordLoginForm.tsx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/app/pages/auth/ServerPicker.tsx b/src/app/pages/auth/ServerPicker.tsx index e66d92a1d2..10dddb7d03 100644 --- a/src/app/pages/auth/ServerPicker.tsx +++ b/src/app/pages/auth/ServerPicker.tsx @@ -89,6 +89,8 @@ export function ServerPicker({ size="500" readOnly={!allowCustomServer} onClick={allowCustomServer ? undefined : handleOpenServerMenu} + // disable auto-capitalization, which is usually undesirable for server name input. + autoCapitalize="off" after={ serverList.length === 0 || (serverList.length === 1 && !allowCustomServer) ? undefined : ( } /> {loginState.status === AsyncStatus.Error && ( From ba971de114a013c7f41f2d4198bce8bdefc63b83 Mon Sep 17 00:00:00 2001 From: Rye Date: Wed, 4 Mar 2026 23:27:19 +0100 Subject: [PATCH 2/4] fixed formatting with fmt --- src/app/pages/auth/login/PasswordLoginForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/pages/auth/login/PasswordLoginForm.tsx b/src/app/pages/auth/login/PasswordLoginForm.tsx index 6e98be1d3b..74a55250a7 100644 --- a/src/app/pages/auth/login/PasswordLoginForm.tsx +++ b/src/app/pages/auth/login/PasswordLoginForm.tsx @@ -211,7 +211,7 @@ export function PasswordLoginForm({ defaultUsername, defaultEmail }: PasswordLog required outlined // disable auto-capitalization, which is usually undesirable for username input. - autoCapitalize='off' + autoCapitalize="off" after={} /> {loginState.status === AsyncStatus.Error && ( From 22ba3e5e4f6a61e45c069c819236f21331f90423 Mon Sep 17 00:00:00 2001 From: Rye Date: Wed, 4 Mar 2026 23:54:10 +0100 Subject: [PATCH 3/4] feat(editor): enable auto-capitalization for sentences in message editor --- src/app/components/editor/Editor.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/components/editor/Editor.tsx b/src/app/components/editor/Editor.tsx index 32121685fd..b2ae12e53d 100644 --- a/src/app/components/editor/Editor.tsx +++ b/src/app/components/editor/Editor.tsx @@ -158,6 +158,8 @@ export const CustomEditor = forwardRef( onKeyDown={handleKeydown} onKeyUp={onKeyUp} onPaste={onPaste} + // automatically capitalize the first letter of sentences on mobile, which is usually desirable in message editors. + autoCapitalize="sentences" // keeps focus after pressing send. onBlur={() => { if (mobileOrTablet()) ReactEditor.focus(editor); From 42888a6637335d644b1fb0e0bc65654196951bca Mon Sep 17 00:00:00 2001 From: Rye Date: Thu, 5 Mar 2026 10:47:38 +0100 Subject: [PATCH 4/4] feat(editor): enable auto-correction and spell check in message editor --- src/app/components/editor/Editor.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/components/editor/Editor.tsx b/src/app/components/editor/Editor.tsx index b2ae12e53d..753e42de88 100644 --- a/src/app/components/editor/Editor.tsx +++ b/src/app/components/editor/Editor.tsx @@ -160,6 +160,8 @@ export const CustomEditor = forwardRef( onPaste={onPaste} // automatically capitalize the first letter of sentences on mobile, which is usually desirable in message editors. autoCapitalize="sentences" + autoCorrect="true" + spellCheck // keeps focus after pressing send. onBlur={() => { if (mobileOrTablet()) ReactEditor.focus(editor);