Skip to content

Commit 9f71d4e

Browse files
committed
fix: text ellipsis issue for Safari
1 parent e25e91e commit 9f71d4e

File tree

1 file changed

+2
-1
lines changed
  • packages/react-native-web/src/exports/Text

1 file changed

+2
-1
lines changed

packages/react-native-web/src/exports/Text/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,8 @@ const classes = css.create({
184184
maxWidth: '100%',
185185
overflow: 'hidden',
186186
textOverflow: 'ellipsis',
187-
whiteSpace: 'pre'
187+
whiteSpace: 'pre',
188+
wordWrap: 'normal'
188189
},
189190
// See #13
190191
textMultiLine: {

0 commit comments

Comments
 (0)