cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leif Ullman (JIRA)" <>
Subject [jira] [Commented] (CB-1081) Scrolling in Android 4.1.x with PhoneGap 2.0rc1 is Poor
Date Sat, 19 Jan 2013 17:26:12 GMT


Leif Ullman commented on CB-1081:

I ran into a similar problem when our client's devices (Samsung Galaxy Tab 2) were upgraded
to Android 4.1.1.  Our app uses PhoneGap + Sencha Touch 1.1.  Scrolling basically stopped
working and I traced it down to the touch event only firing once into the webview until you
released your finger and pressed down again.  I solved it by adding this to my document (only
add if useragent is android 4.1.x).

document.ontouchmove = function(event) {

However I'm not sure if this will cause any unintended consequences but for now it seems to
be working okay.  Hope this helps someone else.  I had tried the hardwareAccelerated fix suggested
above but that didn't solve it for me.  

> Scrolling in Android 4.1.x with PhoneGap 2.0rc1 is Poor
> -------------------------------------------------------
>                 Key: CB-1081
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Android 4.1.x
>            Reporter: Greg
>            Assignee: Joe Bowser
> With Android 4.0.x scrolling is fine - but with 4.1.x scrolling in the webview is choppy
and less than ideal. It doesn't have affect with 4.0.x on 2.0rc1. 
> The webpage is setup with a position fixed element at the top and scrollable content
below. This is supported with 4.1.x

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message