Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Browsing the WebView renderers over the weekend I found the WebViewRenderer on iOS doesn't conform to the usual renderer pattern.
Normally the widget being rendered would be set to the Control property and enclosed in the UIView using the SetNativeControl method. For some reason this hasn't been done. This could be the source of the layout bug (https://bugzilla.xamarin.com/show_bug.cgi?id=30047). I reimplemented my own WebViewRenderer using the standard pattern, and there were no layout problems during rotation.
Not conforming to the pattern also makes the control very difficult to subclass because we can't rely on the standard things having been done in the standard way.
Please fix the iOS WebViewRenderer so it works the same way as all the other renderers.
David, could you please share the code of your WebViewRenderer which fixes bug #30047?
Thank you for your report. At this time there are no plans to implement any changes around this issue.
Xamarin Forms Team