Skip to content

[Android] Fix TextInput placeholder multiline#55272

Open
delphinebugner wants to merge 1 commit into
react:mainfrom
delphinebugner:delphine/android-fix-placeholder-multiline
Open

[Android] Fix TextInput placeholder multiline#55272
delphinebugner wants to merge 1 commit into
react:mainfrom
delphinebugner:delphine/android-fix-placeholder-multiline

Conversation

@delphinebugner

@delphinebugner delphinebugner commented Jan 22, 2026

Copy link
Copy Markdown

Summary:

On Android, the <TextInput>'s placeholder property always renders to multiple lines, whereas on iOS it trails the ending (like ellipsizeMode="trail").
image

This PR aligns the Android behaviour to iOS :

  • Text Input with multiline=false (default): placeholder uses an ellipsis
  • Text Input with multiline=true: placeholder is multiline

More context on:

Changelog:

Test Plan:

Showcase

 What Android iOS (iso)
no multiline + long placeholder fixed image image
multiline + long placeholder iso before image  image

@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 Jan 22, 2026
@facebook-github-bot facebook-github-bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Jan 22, 2026
@react-native-bot

Copy link
Copy Markdown
Collaborator

This PR is stale because it has been open for 180 days with no activity. It will be closed in 7 days unless you comment on it or remove the "Stale" label.

@react-native-bot react-native-bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jul 22, 2026
@oe

oe commented Jul 23, 2026

Copy link
Copy Markdown

Same issue here: placeholder became multiline after focus -> input text -> clear text -> blur
plz approve this PR

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. Stale There has been a lack of activity on this issue and it may be closed soon.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants