From 11dc5a5aca2842346759022fc405e89d1d0132b1 Mon Sep 17 00:00:00 2001 From: Jason Smith Date: Sat, 26 Mar 2016 23:29:45 -0700 Subject: [A]Resolve issue where calling Focus in an unfocus event would fail Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=39702 without API change. This does cause android to always indicate a focus event was succesful now because we have no way of knowing ahead of time if it will succeed or fail. That said we always already indicated that unfocus was successful because android has no way of reporting such a failure. --- Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Xamarin.Forms.Platform.Android/AppCompat') diff --git a/Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs b/Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs index 7edbffb2..dd1c033d 100644 --- a/Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs +++ b/Xamarin.Forms.Platform.Android/AppCompat/NavigationPageRenderer.cs @@ -625,6 +625,8 @@ namespace Xamarin.Forms.Platform.Android.AppCompat }); } + Context.HideKeyboard(this); + // 200ms is how long the animations are, and they are "reversible" in the sense that starting another one slightly before it's done is fine return tcs.Task; -- cgit v1.2.3