-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
2174059 MAUI hit testing ignores pages loaded by PushModalAsync #24109
Conversation
Updated VisualTreeElementExtension to get the MauiWinUiWindow Element, as its content member gets modal content in addition to underlying content
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see that the fix is WinUI only. Did you also test on Android/iOS to confirm that they don't have this bug - that it's a WinUI only issue?
From testing I wasn't able to repro it on Android, I need to set up my iOS device to test as I don't have a good remote simulator setup to test. For context this code is windows only. |
Update the code to use the UI.Xaml.Window instead of the MauiWinUIWindow
* MAUI hit testing ignores pages loaded by PushModalAsync Updated VisualTreeElementExtension to get the MauiWinUiWindow Element, as its content member gets modal content in addition to underlying content * PR Feedback Update the code to use the UI.Xaml.Window instead of the MauiWinUIWindow
Description of Change
Updated VisualTreeElementExtension to get the MauiWinUiWindow Element, as its content member gets modal content in addition to underlying content
Tested in Maui Windows and Android with a test project from the linked work item. Verified in the Maui Sandbox with fix and without.
Also verified the initial bug didn't repro on android.
Issues Fixed
Bug# 2174059