Fix ellipsis in DisplayNames - 2#6972
Conversation
|
@CamilaRivera Let's find the real cause why this is not working natively. Why RN-web is using multiline styles. |
|
Also since you tested on mobile web & desktop would you please provide some screenshots? :D (also for ios and android if you're able to test there) |
Not sure what you mean about "multiline styles", but this is what I found: The base requirements for the ellipsis, according to this SO, are: overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;and a constrained width. We are missing this last part because of the |
@Beamanator Updated the description with screenshots |
|
I meant the same thing This problem is coming due to the recent upgrade of RN-web. But is this a bug with RN-web or an issue in our repo? |
|
Here is the issue with RN-web necolas/react-native-web#2186. Let's wait for the solution |
|
I have submitted a fix for RN-web necolas/react-native-web#2193 which should be merged soon and then this issue will be fixed. |
|
Closing since the fix was made in react-native-web (our fork, for now) |
Details
Add
display: inline-blockin web to make ellipsis work.Fixed Issues
$ #6913
Tests | QA Steps
Expected result: You should see the ellipsis for all cases above.
Tested On
Screenshots
Web
Mobile Web
Chrome Android
Safari IOS
Desktop
iOS
Android