diff --git a/src/Controls/samples/Controls.Sample.UITests/Elements/DoubleTapGallery.cs b/src/Controls/samples/Controls.Sample.UITests/Elements/DoubleTapGallery.cs index fbac1007585c..fa532917d67e 100644 --- a/src/Controls/samples/Controls.Sample.UITests/Elements/DoubleTapGallery.cs +++ b/src/Controls/samples/Controls.Sample.UITests/Elements/DoubleTapGallery.cs @@ -16,10 +16,12 @@ public DoubleTapGallery() { HeightRequest = 200, WidthRequest = 200, - BackgroundColor = Microsoft.Maui.Graphics.Colors.AliceBlue, - AutomationId = "DoubleTapSurface" + BackgroundColor = Microsoft.Maui.Graphics.Colors.AliceBlue }; + var dtLabel = new Label { Text = "DoubleTapSurface", AutomationId = "DoubleTapSurface" }; + tapSurface.Add(dtLabel); + var doubleTapRecognizer = new TapGestureRecognizer() { NumberOfTapsRequired = 2 }; doubleTapRecognizer.Tapped += (sender, args) => { result.Text = "Success"; }; diff --git a/src/Controls/samples/Controls.Sample.UITests/Issues/Issues16561.xaml b/src/Controls/samples/Controls.Sample.UITests/Issues/Issues16561.xaml index 55693dc12e87..2c0ec975796d 100644 --- a/src/Controls/samples/Controls.Sample.UITests/Issues/Issues16561.xaml +++ b/src/Controls/samples/Controls.Sample.UITests/Issues/Issues16561.xaml @@ -4,15 +4,14 @@ x:Class="Maui.Controls.Sample.Issues.Issue16561"> - -