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

Breaking changes

Obsoletions / Deprecations

Fixed issues