Skip to content

Fix Android URL keyboard input type - #58505

Open
dajiaohuang wants to merge 1 commit into
react:mainfrom
dajiaohuang:fix/58380-url-input-type
Open

Fix Android URL keyboard input type#58505
dajiaohuang wants to merge 1 commit into
react:mainfrom
dajiaohuang:fix/58380-url-input-type

Conversation

@dajiaohuang

@dajiaohuang dajiaohuang commented Sep 13, 2026

Copy link
Copy Markdown

Summary

Fixes #58380. Include TYPE_CLASS_TEXT when resolving keyboardType=url so Android receives a valid text input class and the existing property test covers the regression.

Changelog:

[Android] [Fixed] - Restore the text input class for URL keyboard types.

Test Plan

  • ./gradlew :packages:react-native:ReactAndroid:test --tests com.facebook.react.views.textinput.ReactTextInputPropertyTest --no-daemon (blocked locally: Android SDK environment variables and SDK are unavailable).
  • git diff --check (passed).

@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 Sep 13, 2026
@dajiaohuang

Copy link
Copy Markdown
Author

Updated the PR description with the required ## Changelog: heading and [Android] [Fixed] entry.

@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 Sep 13, 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. 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.

keyboardType="url" on Android produces an inputType with no class, so the IME is never told what the field accepts

1 participant