Skip to content

Use multiline ellipsis implementation for single line too#2113

Closed
janicduplessis wants to merge 1 commit intonecolas:masterfrom
janicduplessis:nol
Closed

Use multiline ellipsis implementation for single line too#2113
janicduplessis wants to merge 1 commit intonecolas:masterfrom
janicduplessis:nol

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