-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Description
The keyboard doesn't get dismissed after we have entered the text in SearchBar control we tap/press the "Search/Enter" button on the keyboard. This happens for both Android and iOS.
The dismiss of keyboard used to work in Xamarin Forms.
Expectation: It is expected that the softkeyboard associated with SearchBar control must get closed after user taps on "Search" button on the keyboard.
Record_2023-03-20-15-28-58.mp4
Steps to Reproduce
-
Download solution here:
https://github.com/muffadal53/MAUISearchBarKeyboardBug
-
Run the solution for Android / iOS.
-
On MainPageTap into the SearchBar control, type some text and tap "Search/Enter".
-
The keyboard does not disappear, it remains visible until the back button is pressed on Android / navigate to some other view in iOS - This is Not OK.
Link to public reproduction project repository
https://github.com/muffadal53/MAUISearchBarKeyboardBug
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android
Affected platform versions
Android 12, iOS 16
Did you find any workaround?
No.
Relevant log output
N/A.