Bug 27581 - [Android] Can't scroll on webview after keyboard has shown
Summary: [Android] Can't scroll on webview after keyboard has shown
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.3.5
Hardware: PC Mac OS
: Highest normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-03-02 17:49 UTC by Michiel van Vlaardingen
Modified: 2015-03-05 21:40 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
reproduction project (79 bytes, text/plain)
2015-03-02 17:52 UTC, Michiel van Vlaardingen
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Michiel van Vlaardingen 2015-03-02 17:49:02 UTC
Given a ContentPage containing a webview,  if an input field on the webpage is focussed and keyboard is shown, it is no longer possible to scroll the page up or down. Not even after the keyboard is hidden again.   This is a showstopper bug for us as it makes the oauth linkedin page unusable.

Issues is Android only  and did not exist in version 1.3.1. (but does exist in 1.3.4 as well)

Tested on Android 4.1.2 (Samsung S2)
Comment 1 Michiel van Vlaardingen 2015-03-02 17:52:48 UTC
Created attachment 10121 [details]
reproduction project
Comment 2 asimk 2015-03-03 13:02:26 UTC
I have checked this issue with help of sample application attached in Bug description and able to reproduce it with 'samsung glaxy s3'. I run app on samsung glaxy s3 version 4.1.1, app launches on the device and I am able to scroll up and down the webpage. But if I click in textbox then Webpage is no longer possible to scroll up or down, even after hiding the keyboard.

Note: It is working fine on htc one version 4.4.2 and emulator, http://www.screencast.com/t/YKHQPtsZM1

I have checked this issue with Xamarin Forms version 1.4.0.6336-pre1 and 1.3.5.6335 both.

Android device log(adb logcat): https://gist.github.com/saurabh360/862be471b1748170ce2e

Environment Info:
=== Xamarin Studio ===

Version 6.0 (build 10)
Installation UUID: d6f15b80-470e-4e50-9aba-38a45c556680
Runtime:
	Mono 4.0.0 ((detached/2634099)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400000017

=== Xamarin.Android ===

Version: 5.1.99.1 (Enterprise Edition)
Android SDK: /Users/360logica/Desktop/Anddk/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Apple Developer Tools ===

Xcode 6.2 (6770)
Build 6C121

=== Xamarin.iOS ===

Version: 8.9.1.431 (Enterprise Edition)
Hash: 3406d22
Branch: master
Build date: 2015-03-02 21:16:30-0500

=== Xamarin.Mac ===

Version: 1.13.1.417 (Enterprise Edition)

=== Build Information ===

Release ID: 600000010
Git revision: a17f55cdf92984392cdc731587e9482065bcca51
Build date: 2015-03-03 06:59:31-05
Xamarin addins: 2a129a5faf33dc599db2e5fad0132f31e3a504dd

=== Operating System ===

Mac OS X 10.10.0
Darwin 360Logicas-MacBook-Pro.local 14.0.0 Darwin Kernel Version 14.0.0
    Fri Sep 19 00:26:44 PDT 2014
    root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
Comment 4 Jason Smith [MSFT] 2015-03-05 05:25:05 UTC
Should be fixed in 1.3.5 hotfix 1
Comment 5 Kent Green [MSFT] 2015-03-05 21:40:20 UTC
Customer for the case I noted in comment 3 reports that the fix in Xamarin.Forms 1.3.5.6337 appears to be working based on their initial tests. 

This version is currently on NuGet: https://www.nuget.org/packages/Xamarin.Forms/