WebView doesn't get resized or panned when soft keyboard is overlayed

NeoKNeoK KRMember ✭✭
edited December 2016 in Xamarin.Forms

I'm using Xamarin Forms, the latest version, and testing on Lollipop emulator.

When the input field in a WebView get focused, the software keyboard is scrolling up and the input field is overlayed.
The keyboard hides the focused input field as shown in the screenshots.

If I create and click a Entry rather than the WebView, it resizes the content page as expected.
I've searched a lot with this issue but none of them works with WebView case.(including setting WindowSoftInputMode = SoftInput.AdjustResize on Activity)

I can say this behavior in Xamarin.Forms is buggy because If I create a WebView in Android with Activity rather than FormsAppCompatActivity, the WebView is scrolled up OK.

My test codes are just a simple WebView in a ScrollView

c1.jpg 32.4K
c2.jpg 39.8K


Sign In or Register to comment.