Skip to content

Remove TextInput blurOnSubmit#57393

Open
zoontek wants to merge 1 commit into
react:mainfrom
zoontek:remove-textinput-blur-on-submit
Open

Remove TextInput blurOnSubmit#57393
zoontek wants to merge 1 commit into
react:mainfrom
zoontek:remove-textinput-blur-on-submit

Conversation

@zoontek

@zoontek zoontek commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary:

Removes the blurOnSubmit TextInput prop, deprecated since 0.77 in favor of submitBehavior. Cleans it from the JS API, types, native component spec, and rn-tester examples. Default behavior is unchanged: single-line inputs blur and submit, multiline inputs insert a newline.

See #57384

Changelog:

[GENERAL] [REMOVED] - Remove deprecated TextInput blurOnSubmit prop (use submitBehavior instead)

Test Plan:

  • yarn flow check passes
  • yarn build-types regenerates the API snapshot without blurOnSubmit
  • rn-tester "Submit behavior" example still covers all submitBehavior values

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 1, 2026
@zoontek zoontek mentioned this pull request Jul 1, 2026
8 tasks
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

Warning

JavaScript API change detected

This PR commits an update to ReactNativeApi.d.ts, indicating a change to React Native's public JavaScript API.

  • Please include a clear changelog message.
  • This change will be subject to additional review.

This change was flagged as: POTENTIALLY_BREAKING

@facebook-github-tools facebook-github-tools Bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Expo Partner: Expo Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant