Fix Mouse pointer triggering focus change on pointer release. by emmauss · Pull Request #21009 · AvaloniaUI/Avalonia (original) (raw)
What does the pull request do?
Fixes a regression from #19753 . Mouse pointer was changing focus on pointer release in addition to pointer press. This pr makes it so it only triggers focus change on pointer press, while touch input changes focus on pointer release.
What is the current behavior?
What is the updated/expected behavior with this PR?
How was the solution implemented (if it's not obvious)?
Checklist
- Added unit tests (if possible)?
- Added XML documentation to any related classes?
- Consider submitting a PR to https://github.com/AvaloniaUI/avalonia-docs with user documentation