aMarCruz / react-native-text-size

Measure text accurately before laying it out and get font information from your App.
BSD 2-Clause "Simplified" License
405 stars 95 forks source link

Inconsistency in flatHeights between Android and iOS #5

Closed aMarCruz closed 6 years ago

aMarCruz commented 6 years ago

null and other types that are not strings must return zero, empty strings must return the minimum height of <Text> for empty string. This in iOS is not fulfilled, the result is inverted.