jsdf / react-native-htmlview

A React Native component which renders HTML content as native views
ISC License
2.7k stars 466 forks source link

dynamically set height according to available content #344

Open mixmaker opened 2 years ago

mixmaker commented 2 years ago

I'm trying to show some text inside htmlview the length of text isn't fixed. Also there is no height specified inside the html content, and that's why the component shrinks to nothing.

Is there any way to dynamically set the height of the htmlview according to the content inside?