From c4c64dddb8486167b02cb3d09bb85d2b8bfb75df Mon Sep 17 00:00:00 2001 From: Mike Corsaro Date: Wed, 10 Apr 2024 15:16:47 -0700 Subject: [PATCH 1/6] Fix pointer released event not being handled on ImageButton --- .../Issues/Issue21706.xaml | 40 +++++++++++++ .../Issues/Issue21706.xaml.cs | 18 ++++++ .../Pages/Layouts/FlexLayoutPage.xaml | 54 +++++++----------- .../tests/UITests/Tests/Issues/Issue21706.cs | 26 +++++++++ .../ImageButtonStuckAfterRightClick.png | Bin 0 -> 13760 bytes .../ImageButton/ImageButtonHandler.Windows.cs | 10 ++++ .../src/UITest.Appium/HelperExtensions.cs | 14 +++++ 7 files changed, 128 insertions(+), 34 deletions(-) create mode 100644 src/Controls/samples/Controls.Sample.UITests/Issues/Issue21706.xaml create mode 100644 src/Controls/samples/Controls.Sample.UITests/Issues/Issue21706.xaml.cs create mode 100644 src/Controls/tests/UITests/Tests/Issues/Issue21706.cs create mode 100644 src/Controls/tests/UITests/snapshots/windows/ImageButtonStuckAfterRightClick.png diff --git a/src/Controls/samples/Controls.Sample.UITests/Issues/Issue21706.xaml b/src/Controls/samples/Controls.Sample.UITests/Issues/Issue21706.xaml new file mode 100644 index 000000000000..33b58699304c --- /dev/null +++ b/src/Controls/samples/Controls.Sample.UITests/Issues/Issue21706.xaml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + +