-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix ellipsis in DisplayNames - 2 #6972
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-block
in 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