- SDK Version: 4.13.0
- Platforms(Android/iOS/web/all): iOS
What is the alternative for numberOfLine props for TextInput component for iOS? This is the solution I have implemented for now:
minHeight: (Platform.OS === 'ios' && numberOfLines) ? (20 * numberOfLines) : numberOfLines
But this doesn’t translate exactly as the correct height for the given number of lines. Is there a better alternative to this?