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):
But it didn't work. It still does not scale the webview content:
I would like that the loaded page to look like this (without scaling it manually):
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.
I tried to modify the
index.js
file of this library by adding thescalesPageToFit={true}
property to the WebView like here (I know thatscalesPageToFit
istrue
by default, but it didn't work, so I thought that it may work if I set it manually):But it didn't work. It still does not scale the webview content:
I would like that the loaded page to look like this (without scaling it manually):
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.