diff --git a/src/app/components/editor/Editor.tsx b/src/app/components/editor/Editor.tsx index 32121685fd..753e42de88 100644 --- a/src/app/components/editor/Editor.tsx +++ b/src/app/components/editor/Editor.tsx @@ -158,6 +158,10 @@ 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" + autoCorrect="true" + spellCheck // keeps focus after pressing send. onBlur={() => { if (mobileOrTablet()) ReactEditor.focus(editor); 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 && (