Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Analyzer for WebView on Xamarin.Forms #471

Open
mrlacey opened this issue May 8, 2021 · 0 comments
Open

Add Analyzer for WebView on Xamarin.Forms #471

mrlacey opened this issue May 8, 2021 · 0 comments
Labels
enhancement A change or improvement to something that exists Xamain.Forms Relates to XAML in Xamarin.Forms projects XAML-Analysis Relates to XAML Analysis functionality
Milestone

Comments

@mrlacey
Copy link
Owner

mrlacey commented May 8, 2021

If a WebView is inside a StackLayout, ensure WidthRequest and HeightRequest are set

https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/webview?tabs=windows

It may be necessary to set the WidthRequest and HeightRequest properties of the WebView to see the HTML content, depending upon the layout the WebView is a child of. For example, this is required in a StackLayout.

This is a follow-on from #411 but wasn't implemented there as doing so would mean adding this analysis for the StackLayout.
Consider doing when can view parents/containers from within an analyzer.

@mrlacey mrlacey added enhancement A change or improvement to something that exists XAML-Analysis Relates to XAML Analysis functionality Xamain.Forms Relates to XAML in Xamarin.Forms projects labels May 8, 2021
@mrlacey mrlacey added this to the Backlog milestone May 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A change or improvement to something that exists Xamain.Forms Relates to XAML in Xamarin.Forms projects XAML-Analysis Relates to XAML Analysis functionality
Projects
None yet
Development

No branches or pull requests

1 participant