-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
project:react-native-webIssue associated with react-native-webIssue associated with react-native-web
Milestone
Description
The problem
ellipsizeMode on Text component does not work. the produced css is always text-overflow: ellipsis regardless of the value of the ellipsizeMode e.g ellipsizeMode: "clip".
How to reproduce
Example: https://codesandbox.io/embed/mo1ylwmp08
Steps to reproduce:
- Create a clipped text with
ellipsizeModedifferent thantail
<Text numberOfLines={1} ellipsizeMode="clip" > Example Text </Text>- The text is always clipped with ellipsis regardless of the mode (head, clip...)
Expected behavior
ellipsizeMode = "clip" generates text-overflow: clip, for example, and not text-overflow: ellipsis ...
Environment (include versions). Did this work in previous versions?
- React Native for Web (version): 0.11.x
- React (version): 16.8.4
- Browser: Google Chrome
jvaclavik, xiankunatpushpay, sertony, krini, beardwin and 23 more
Metadata
Metadata
Assignees
Labels
project:react-native-webIssue associated with react-native-webIssue associated with react-native-web