Bug report best practices: https://github.com/xamarin/Xamarin.Forms/wiki/Submitting-Issues
Migrating https://bugzilla.xamarin.com/show_bug.cgi?id=45723 here.
On version 2.1, tapping a Button didn't dismiss the keyboard when the focus was on an Entry or and Editor. From version 2.2 onward, tapping a Button dismisses the keyboard.
There was a PR to fix this on iOS, but it was rejected, and the bug report was never changed back to confirmed from in progress.
Load app.
Click on an entry so that the keyboard comes up
Tap on a button
Note that the keyboard is dismissed
Developers have an option to choose what happens, as noted in the PR, "This is useful in cases such as when a chat application does not need to dismiss keyboard when a Send button is hit"
On 2.1, keyboard is not dismissed, on 2.5 it is
https://www.dropbox.com/s/wq6jp5rnulvtj6p/keyboardsample.zip?dl=0
@Paul-Brenner-Tangoe do you know if there is a workaround for this?
@vhugogarcia Sorry no, only thing I can think of is fork forms and merge in the closed PR linked above. Or you can bug @davidortinau to try to set this as a higher priority. Though they have 600+ issues, so I wouldn't hold your breath to this being fixed anytime soon.
why inactive ? Issue is still there... tested with latest stable xamarin forms version, I found out that if there is eg. Stacklayout around the button it not work.
I set a command and it not fires when keyboard is visible
edit: I correct my statement, I set to the button VerticalOptions="EndAndExpand" and it not works if I remove it, it works
@Blin4ik91 in your edit are you saying you have this working?
I have an Entry and a Button in a StackLayout and when the Button is tapped the keyboard hides in both iOS and Droid.
This solved it for me. https://forums.xamarin.com/discussion/comment/205189/#Comment_205189
@samhouts @rmarinho SetCanBecomeFirstResponder from #8740 fixes this beahviour for iOS. Is there some solution for Android ?
@sreerajPR Would you mind opening a new issue for Android? Thanks!