Xamarin.Forms.Plugins icon indicating copy to clipboard operation
Xamarin.Forms.Plugins copied to clipboard

KeyboardOverlap - Do not hide keyboard on button pressed

Open riandesign opened this issue 7 years ago • 1 comments

In my page, I have a ListView in the whole page and an Entry and Button at the bottom, like WhatsApp and Facebook Messenger.

The thing is, when user taps on Entry, keyboard appears, and when user taps the button, it hides. But, I don't want it to hide, because user can type another message and if the keyboard hides, it's a little bit annoy.

How can I avoid the keyboard hides when user taps button and it hides when user taps the ListView (messages)?

riandesign avatar Mar 17 '17 17:03 riandesign

This has nothing to do with KeyboardOverlap.

But you need to override UITextField.ShouldEndEditing method, and you will also need a custom Renderer to do that. Take a look at the archive in this issue.

ericvoid avatar Jul 13 '17 23:07 ericvoid