calvinkei / react-native-mathjax

Render Mathjax content in React Native Webview
MIT License
34 stars 37 forks source link

Webview "scalesPageToFit={true}" property not work for this library (android) #18

Closed ggunti closed 4 years ago

ggunti commented 5 years ago

I tried to modify the index.js file of this library by adding the scalesPageToFit={true} property to the WebView like here (I know that scalesPageToFit is true by default, but it didn't work, so I thought that it may work if I set it manually): untitled

But it didn't work. It still does not scale the webview content: bad

I would like that the loaded page to look like this (without scaling it manually): good

So my question is: how could be achievied this behaviour? I also tried to change the default WebView to react-native-yunpeng-webview WebView, but not worked.

ronastlelobo commented 5 years ago

any luck @ggunti ?

ggunti commented 5 years ago

unfortunately not, I didn't try to solve it anymore

calvinkei commented 4 years ago

Please update to the latest version 2.1.2 and let me know if this issue persist