-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Soft keyboard does not appear for entry field on first page shown by app - Android only #2094
Comments
I have what I assume is the same issue. It's not the first page in my app though, it's the first child page that's displayed in a fresh |
This is over a year old, is there a fix yet? |
This issue doesn't seem to have had any activity in a long time. We're working on prioritizing issues and resolving them as quickly as we can. To help us get through the list, we would appreciate an update from you to let us know if this is still affecting you on the latest version of Xamarin.Forms, since it's possible that we may have resolved this as part of another related or duplicate issue. If we don't see any new activity on this issue in the next 30 days, we'll evaluate whether this issue should be closed. Thank you! |
Still happens with Xamarin.Forms 4.5.0.356 |
This still doesnt work in 4.7. I'm using similar code with a search handler in forms shell. Calling Focus() in OnAppearing will focus the control but not open the soft keyboard. |
Still doesn't work, it is a shame. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I encountered the same issue with on 5.0. I had similar issues before with other control methods, liking scrolling to the end of a view. In both cases the workaround was to add some async delay in |
Worked for me. Thanks |
This is not working for me. I am opening new page and I want to focus SearchBar with opened keyboard. Right now focus is set to SearchBar but keyboard is not shown. EDIT: It works with entry even without delay. Issue is with SearchBar but this topic is not about it. |
Description
Soft keyboard does not appear for entry field on first page shown by app - Android only (there is no issue on iOS)
Based on - https://bugzilla.xamarin.com/show_bug.cgi?id=51854
Steps to Reproduce
I.e.:
Expected Behavior
After showing SamplePasscodePage, and invoking Focus() for Entry, keyboard should appeared.
Actual Behavior
After showing SamplePasscodePage, and invoking Focus() for Entry, keyboard sometimes appears, but sometimes does not appear.
Workaround
I've found out, that delaying invoking of Focus() (with at least 250ms, but it's just by trial and error...), affects 95-99% cases, when keyboard appears, as expected.
I.e.:
Basic Information
Screenshots
Reproduction Link
The text was updated successfully, but these errors were encountered: