Repository navigation
Text Component ellipsis is not displayed correctly in Android (sometimes the three dots are cut-off) #33487
Description
Activity
I have this issue as well! Did you ever find a solution? @ryanphung
Same
Any updates on this?
Any update on this issue? @ryanphung
Any update on this issue? @ryanphung
same issue on RN0.62.2
- addedType: Unsupported VersionIssues reported to a version of React Native that is no longer supportedIssues reported to a version of React Native that is no longer supported
on Feb 9, 2023 It looks like your issue or the example you provided uses an unsupported version of React Native. Due to the amount of issues we receive, we're currently accepting only new issues against one of the supported version. Please open your issue on StackOverflow to get further community support.
This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days.
- addedStaleThere 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.
on Mar 5, 2023 Same issue on 0.71.3 when you use custom font #36350
- removedStaleThere 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.
on Mar 10, 2023 This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days.
- addedStaleThere 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.
on Apr 3, 2023 This issue was closed because the author hasn't provided the requested feedback after 7 days.
Do you still experience this issue?
I have four years of experience maintaining facebook/react-native and I specialize in the Text and TextInput components. I currently have 58 facebook/react-native PRs.
If you still experience this issue, I will prepare a patched release with the fix.
Thanks a lot
@fabOnReact is it possible to get ellipsis to show when parent has fixed height, and the doesn't have
numberOfLineson it? I want to show ellipsis when theres no more room while I dont know how many number of lines would fit.
Description
When I set
numberOfLines={1}on a Text component, if the parent's component width is fixed, sometimes the ellipsis is cut-off strangely. For example, in the below screenshot, you can see that only 1 and a half dots of the ellipsis are shown.It seems to only happen on Android and on most devices that I've tried.
Version
0.63.2
Output of
npx react-native infoSteps to reproduce
Please refer to the below code / snack.
Snack, code example, screenshot, or link to a repository
Here is the minimal reproducible code. Link to snack.