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

How can I force hide the keyboard (as a workaround for a Xamarin Forms bug)

$
0
0

I unfortunately can't share the code as this is for a client, but I'll explain the situation.

I have an Entry and a button. Clicking the button hides the entry. If I first click on the entry (bring up the keyboard), then click the button to hide the entry while the keyboard is shown, the keyboard does not go away.

I have some questions:

  1. Is this a bug? It seems as if making an Entry's IsVisible should make the keyboard disappear but it does not.
  2. Shouldn't a keyboard disappear by default when clicking a button?
  3. How can I force the keyboard to hide as a workaround to this issue when the button is clicked.

Viewing all articles
Browse latest Browse all 77050

Trending Articles



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