Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B1243D209 for ; Sun, 29 Jul 2012 08:26:36 +0000 (UTC) Received: (qmail 25534 invoked by uid 500); 29 Jul 2012 08:26:36 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 25300 invoked by uid 500); 29 Jul 2012 08:26:35 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 25285 invoked by uid 99); 29 Jul 2012 08:26:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Jul 2012 08:26:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id D184914052D for ; Sun, 29 Jul 2012 08:26:34 +0000 (UTC) Date: Sun, 29 Jul 2012 08:26:34 +0000 (UTC) From: "Roswell Masterson (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1329154891.114020.1343550394860.JavaMail.jiratomcat@issues-vm> In-Reply-To: <256138030.3077.1335538068413.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Comment Edited] (CB-593) Click and touch events do not fire after using scroll CSS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424499#comment-13424499 ] Roswell Masterson edited comment on CB-593 at 7/29/12 8:25 AM: --------------------------------------------------------------- Here's the code that worked for me without interfering with the other 'cordova' functionality that I use. I've added following code at the bottom of 'createGapBridge' function: if (gapInterval === null) { gapInterval = window.setInterval(function () { if (cordova.commandQueue.length === 0 && cordova.commandQueueFlushing === false) { if (gapBridge) { gapBridge.parentNode.removeChild(gapBridge); gapBridge = null; } clearInterval(gapInterval); gapInterval = null; } }, 500); } One should play with the interval time. In my tests setting it to less than 500 results in cordova occasionally not executing the native code. This is tested on v1.8.0. was (Author: roswell47): Here's the code that worked for me without interfering with the other 'cordova' functionality that I use. I've added following code at the bottom of 'createGapBridge' function: if (gapInterval === null) { gapInterval = window.setInterval(function () { if (cordova.commandQueue.length === 0 && cordova.commandQueueFlushing === false) { if (gapBridge) { gapBridge.parentNode.removeChild(gapBridge); gapBridge = null; } clearInterval(gapInterval); gapInterval = null; } }, 500); } This is tested on v1.8.0. > Click and touch events do not fire after using scroll CSS > --------------------------------------------------------- > > Key: CB-593 > URL: https://issues.apache.org/jira/browse/CB-593 > 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 http://pastebin.com/JwL412fy > 2. Create app, install on a device. > 3. Follow on-screen instruction. > Refer original thread & complaint here: http://groups.google.com/group/phonegap/browse_thread/thread/5709ec3df6764664/66da304f714915f4?lnk=gst&q=webkit-overflow-scrolling#66da304f714915f4 > Please advice / assist. > Thanks. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira