-
Notifications
You must be signed in to change notification settings - Fork 762
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
fix: Make SplitButton click and tap behave the same #19625
base: master
Are you sure you want to change the base?
Conversation
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-19625/index.html |
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.
🚀
The build 156803 found UI Test snapshots differences: Details
|
GitHub Issue (If applicable): closes #
PR Type
What kind of change does this PR introduce?
What is the current behavior?
When tapping (touchscreen) the flyout would open even if you don't click the chevron.
What is the new behavior?
Tapping (touchscreen) now behaves like
Click
that only opens the flyout if the chevron is clicked.PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Run
results.Other information
Based on Microsoft changes: microsoft/microsoft-ui-xaml@6909712#diff-26435cd7d5a1b50dca1fba8a84c5432c4941c8be555ba8d4ff8e34d99987fb9a
SplitButton.cs
https://github.com/microsoft/microsoft-ui-xaml/blob/69097129a853c65a16447aade4c82576d4724b1a/src/controls/dev/SplitButton/SplitButton.cpp#L121
SplitButtonTests_InteractionTests.cs
https://github.com/microsoft/microsoft-ui-xaml/blob/69097129a853c65a16447aade4c82576d4724b1a/src/controls/dev/SplitButton/InteractionTests/SplitButtonTests.cs#L110-L144