react-native-text-size icon indicating copy to clipboard operation
react-native-text-size copied to clipboard

Not accurate with uppercase

Open lsan75 opened this issue 5 years ago • 1 comments

When applying a textTransform uppercase to the Text style, the measures (width & lastLineWidth) are not accurate.

lsan75 avatar Jan 11 '20 22:01 lsan75

This can be avoided by calling toUpperCase() on your text before measuring. Not a real fix, but might help someone 👍

gaudecker avatar Dec 14 '21 10:12 gaudecker