react-native-webview-autoheight icon indicating copy to clipboard operation
react-native-webview-autoheight copied to clipboard

AutoHeight issue when CSS is applied

Open kaustubheksambekar opened this issue 7 years ago • 1 comments

I am facing autoheight issue when I apply a huge CSS to my HTML content. For Example, when I append bootstrap CSS, the height calculation fails and only a height of approx 20px gets applied. Below is the code :

<MyWebView width={responsiveWidth(65)} startInLoadingState={true} source={{html:CSS + htmlData, baseUrl: 'http://www.example.com'}} />

This code will work fine if my CSS is short.

Any help on this would be appreciated.

kaustubheksambekar avatar Feb 26 '18 12:02 kaustubheksambekar

Having the same issue on some versions of android, e.g Galaxy S8+ Android 9.0.

martinjobb avatar Feb 07 '19 14:02 martinjobb