Merge pull request #9631 from Joehuu/fix-focused-textbox-absorbing-input-when-unfocused

Fix focused textbox absorbing input when unfocused
This commit is contained in:
Dan Balasescu 2020-07-21 14:47:32 +09:00 committed by GitHub
commit d79ab12c8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,8 @@ protected override bool OnKeyDown(KeyDownEvent e)
public bool OnPressed(GlobalAction action)
{
if (!HasFocus) return false;
if (action == GlobalAction.Back)
{
if (Text.Length > 0)