From 94ef2cb089cd6ace101caf2e96c7ea96110ec447 Mon Sep 17 00:00:00 2001 From: David Oliver Date: Wed, 18 Dec 2019 13:48:33 -0500 Subject: [PATCH 1/2] [Android] Fix WebView clipping issue Force WebView to always clip its child (namely, the inner native WebView). --- .../UITests.Shared/UITests.Shared.projitems | 7 +++ .../WebView/WebView_Animated_Opacity.xaml | 48 +++++++++++++++++++ .../WebView/WebView_Animated_Opacity.xaml.cs | 31 ++++++++++++ .../Xaml/Controls/WebView/WebView.Android.cs | 35 ++++++++------ 4 files changed, 106 insertions(+), 15 deletions(-) create mode 100644 src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/WebView/WebView_Animated_Opacity.xaml create mode 100644 src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/WebView/WebView_Animated_Opacity.xaml.cs diff --git a/src/SamplesApp/UITests.Shared/UITests.Shared.projitems b/src/SamplesApp/UITests.Shared/UITests.Shared.projitems index f0fce816af70..42d4395f3a6b 100644 --- a/src/SamplesApp/UITests.Shared/UITests.Shared.projitems +++ b/src/SamplesApp/UITests.Shared/UITests.Shared.projitems @@ -1909,6 +1909,10 @@ Designer MSBuild:Compile + + Designer + MSBuild:Compile + Designer MSBuild:Compile @@ -3841,6 +3845,9 @@ UndefinedHeightListView.xaml + + WebView_Animated_Opacity.xaml + WebView_NavigateToString2.xaml diff --git a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/WebView/WebView_Animated_Opacity.xaml b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/WebView/WebView_Animated_Opacity.xaml new file mode 100644 index 000000000000..cb67e96eb449 --- /dev/null +++ b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/WebView/WebView_Animated_Opacity.xaml @@ -0,0 +1,48 @@ + + + + + + + + +