Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use multiline ellipsis implementation for single line too #2113

Closed
wants to merge 1 commit into from

Conversation

janicduplessis
Copy link
Contributor

Use multiline numberOfLines implementation in all cases, see #2111 for more details.

Fixes #2111

@necolas necolas added this to the 0.17.x milestone Sep 21, 2021
@necolas necolas closed this in 562db69 Sep 28, 2021
@janicduplessis janicduplessis deleted the nol branch September 28, 2021 18:36
rnike pushed a commit to VeryBuy/react-native-web that referenced this pull request Sep 13, 2022
Safari requires use of `white-space:nowrap` if not using the multi-line
technique. This patch uses the multi-lines styles to truncate single-lines.

Fix necolas#2111
Close necolas#2113
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

numberOfLines=1 does not work on Safari
2 participants