Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/app/components/editor/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ export const CustomEditor = forwardRef<HTMLDivElement, CustomEditorProps>(
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);
Expand Down
2 changes: 2 additions & 0 deletions src/app/pages/auth/ServerPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 : (
<PopOut
Expand Down
2 changes: 2 additions & 0 deletions src/app/pages/auth/login/PasswordLoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ export function PasswordLoginForm({ defaultUsername, defaultEmail }: PasswordLog
size="500"
required
outlined
// disable auto-capitalization, which is usually undesirable for username input.
autoCapitalize="off"
after={<UsernameHint server={server} />}
/>
{loginState.status === AsyncStatus.Error && (
Expand Down
Loading