-
Notifications
You must be signed in to change notification settings - Fork 25.2k
TextInput placeholder is always multiline on Android
Closed
Labels
Component: TextInputRelated to the TextInput component.Related to the TextInput component.Platform: AndroidAndroid applications.Android applications.Resolution: PR SubmittedA pull request with a fix has been provided.A pull request with a fix has been provided.StaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.
Metadata
Metadata
Assignees
Labels
Component: TextInputRelated to the TextInput component.Related to the TextInput component.Platform: AndroidAndroid applications.Android applications.Resolution: PR SubmittedA pull request with a fix has been provided.A pull request with a fix has been provided.StaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
On Android, the
<TextInput>'splaceholderproperty always renders to multiple lines, whereas on iOS it trails the ending (likeellipsizeMode="trail").React Native version:
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
<TextInput>componentplaceholderto anything longExpected Results
The placeholder should leave dots at the trail, so no line wraps.
Snack, code example, screenshot, or link to a repository: