Hi, I know this is a known issue about auto-height web browsing in native responsive, and I tried all the possible solutions that I found on the Internet, such as:
https://gist.github.com/epeli/10c77c1710dd137a1335
https://github.com/danrigsby/react-native-web-container/blob/master/index.js
and all the solutions suggested in:
React native: is it possible to have the height of the HTML content in the webview?
But, unfortunately, none of this works for me, I understand that the workaround that they all offer is to set the title to a height, but in my case it seems that the title always remains the same: "text / html .... "and the rest of my html. I get html content from the API, it comes without body, head or html tags, I also tried to add these tags manually in html, and nothing seems to work.
I would like to hear if anyone else had this problem and how it was fixed.
source
share