-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Hold Gesture size and event improvements #12879
Conversation
df03ddd
to
89ab889
Compare
You can test this PR using the following package version. |
9043eb1
to
047f5e5
Compare
You can test this PR using the following package version. |
You can test this PR using the following package version. |
@@ -20,6 +20,8 @@ public class HoldingRoutedEventArgs : RoutedEventArgs | |||
/// </summary> | |||
public PointerType PointerType { get; } | |||
|
|||
public PointerEventArgs? PointerEventArgs { get; } |
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.
It might conflict with #11299 later, so I would keep it internal.
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.
Done.
You can test this PR using the following package version. |
You can test this PR using the following package version. |
What does the pull request do?
Reduces the Hold gesture size. Hold gesture is now handled on all controls using a class handler, as opposed to adding handlers when each control is attached.
Text selection now shows the context menu after a range selection completes. Holding on an existing selection no longer updates the selection, but opens the context menu.
What is the updated/expected behavior with this PR?
How was the solution implemented (if it's not obvious)?
Checklist
Breaking changes
Obsoletions / Deprecations
Fixed issues
Fixes #12808 . Text selection needs to be improved for touch input in general.