Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Programmatically hiding soft keyboard does not show it on the next tap on entry for UWP

$
0
0

I have an entry which is focused on appearing event and hiding soft keyboard by calling platform specific service like: InputPane.GetForCurrentView().TryHide() for UWP
and
var imm = InputMethodManager.FromContext(CrossCurrentActivity.Current.Activity.ApplicationContext);
imm.HideSoftInputFromWindow(CrossCurrentActivity.Current.Activity.Window.DecorView.WindowToken,
HideSoftInputFlags.None) for Android

The issue is the second click on the focused entry does not show the keyboard on UWP while in Android is shown as usual.
The workaround is to unfocus the entry and focus it again, that will bring the keyboard.

Is there any solution for this issue? Am i closing it wrong on UWP?
TapGesture and Click does not work on enabled and focused entry.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>