Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

HybridWebView changes size when content size is changed

$
0
0

Hi
I have a HybridWebView with a uri source pointing to a web page. Everything works really great with js injection and other good stuff that the HybridWebView has. But one thing is a little bit strange compared to the standard Xamarin.Forms WebView or a native browser. One function on the wrapped web page is a side bar that slides out from the left and moves the other content on the page to the right (so the right part is hidden). This is pure css and nothing strange. But, the HybridWebView resize the whole container and scales down the webpage to make it fit. This is not the desired behavior.

Maybe a little bit hard to explain this but the main thing is that the HybridWebView always tries to fit its content in the view? Is there anything I can do about this?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>