incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Sims (JIRA)" <>
Subject [jira] [Commented] (CB-593) Click and touch events do not fire after using scroll CSS
Date Tue, 29 May 2012 11:15:25 GMT


Steve Sims commented on CB-593:

I'm suffering from this problem too.

This problem is caused by the inclusion of Cordova's iframe in the DOM.  This breaks native
touch scrolling, and can make parts of the screen stop responding to touches.

A partial solution to this problem, as has been pointed out elsewhere, is to get rid of the
iframe and signal Cordova's native layer by changing document.location.  That breaks compatibility
with some plugins though such as the Facebook and Google Analytics plugins.  (I've tried many
variations of this, such as using a transient iframe, or making Cordova's own iframe be transient,
all to no avail.)

I've not been able to work out yet why using different signalling methods breaks the plugins.
 If anyone has any hints/tips/ideas I'd love to hear them.
> Click and touch events do not fire after using scroll CSS
> ---------------------------------------------------------
>                 Key: CB-593
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS, iOS
>    Affects Versions: 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.1
>         Environment: iOS 5 / 5.1 Device
>            Reporter: Amirudin Bin Mohamed Ghani
>            Assignee: Shazron Abdullah
>            Priority: Minor
>              Labels: -webkit-overflow-scrolling:touch, css
> Dear Shazron, devs
> After using "-webkit-overflow-scrolling: touch", then regenerate the html via DOM, there
is a "dead zone" at the top of the screen. Only happen on a device.
> Step to reproduce:
> 1. Download index.html at
> 2. Create app, install on a device.
> 3. Follow on-screen instruction.
> Refer original thread & complaint here:
> Please advice / assist.
> Thanks.

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


View raw message