Skip to content

Commit 6aabcaf

Browse files
committed
feat: autofocus prop set to false by default
1 parent d04d1df commit 6aabcaf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/native/EnrichedTextInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ type HtmlRequest = {
4848

4949
export const EnrichedTextInput = ({
5050
ref,
51-
autoFocus,
51+
autoFocus = false,
5252
editable = ENRICHED_TEXT_INPUT_DEFAULT_PROPS.editable,
5353
mentionIndicators = ENRICHED_TEXT_INPUT_DEFAULT_PROPS.mentionIndicators.slice(),
5454
defaultValue,

src/web/EnrichedTextInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function runFocused(
9191
export const EnrichedTextInput = ({
9292
ref,
9393
defaultValue,
94-
autoFocus,
94+
autoFocus = false,
9595
editable = ENRICHED_TEXT_INPUT_DEFAULT_PROPS.editable,
9696
placeholder = '',
9797
placeholderTextColor,

0 commit comments

Comments
 (0)