react-native-htmlview
react-native-htmlview copied to clipboard
Overflow hidden not working on iOS
If i give a custom height to HTMLView in style(which is less than the content height), the view takes the given height but the content overflows outside the HTMLView. This issue is only on iOS, on android it is working fine
Try the following, works on iOS
<HTMLView value={article.body}
stylesheet={bodyStyles}
textComponentProps={{ style: bodyStyles.p }}
rootComponentProps={{ maxHeight: 200, overflow: 'hidden' }} />