Won't Fix
Last Updated: 18 Oct 2019 12:40 by ADMIN
Tom
Created on: 24 Jun 2019 08:38
Category: AutoCompleteView
Type: Bug Report
2
AutoCompleteView: Keyboard overlaps the control.
The virtual keyboard overlaps the component causing users to not see what they type.
1 comment
ADMIN
Nasko
Posted on: 18 Oct 2019 12:40

Hello,

After further investigating the issue we have found out that the observed behavior is caused by the UITextField and EditText native iOS and Android controls that internally the AutoCompleteView is using. The UITextField is covered by the Keyboard if the control is not placed inside ScrollViewer. A detail information about that behavior could be found in the official Apple documentation - section Moving Content That Is Located Under the Keyboard:

https://developer.apple.com/library/archive/documentation/StringsTextFonts/Conceptual/TextAndWebiPhoneOS/KeyboardManagement/KeyboardManagement.html#//apple_ref/doc/uid/TP40009542-CH5-SW1

Absolutely the same behavior can be observed if instead of AutoCompleteView the Xamarin Forms Entry control is used - again that control uses the UITextField internally. An issue has been logged for the Entry Xamarin Forms control and on the following link you can find details why it has been declined:

https://github.com/xamarin/xamarin-android/issues/1199

Basically, if you want to make the UITextFields/EditText control visible when the keyboard is visualised the recommended approach is to place the controls inside ScrollView. If ScrollView is not possible as a solution for iOS the following package could be used:

https://www.nuget.org/packages/Xam.Plugins.Forms.KeyboardOverlap/

For Android you can check David's answer in the closed issue for the Entry control. I am pasting it here as well: Another option to consider is how you want to configure the input mode via Android's UseWindowSoftInputModeAdjust. The documentation is here.

Please notice that there are many solutions to this behavior in the internet. There is nothing in particular that we can suggest in this case. It is up to you to decide which approach best suites your needs.

If you have any additional questions or concerns, please let us know.

Regards,
Nasko
Progress Telerik