Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29524

ReactNative WebView content height calculation working fine on iOS but on Android it gives more height than the actual content

$
0
0

I am using web view to load my rich text editor html content in react native. The problem is I need to render multiple webviews one after the other vertically. And webview need a explicit height to load content. So, after searching for some time I found https://medium.com/@fxwio/set-webview-height-to-the-height-of-html-content-react-native-2d696128c181and it helped me to identify height based on content. The content height on iOS is working fine. But on Android if the actual content height is "1756" it calculates as "8884".Please help me out of this.


Viewing all articles
Browse latest Browse all 29524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>