incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Sims (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-593) Click and touch events do not fire after using scroll CSS
Date Wed, 30 May 2012 09:34:23 GMT

    [ https://issues.apache.org/jira/browse/CB-593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285531#comment-13285531
] 

Steve Sims commented on CB-593:
-------------------------------

The workaround was documented here:
http://groups.google.com/group/phonegap/msg/7beee231774af8c9

My alternative attempt at a workaround was to comment out all the gapBridge code (as TimW
did in the workaround linked above) and replace it with the following:
var iframe = document.createElement("iframe");
iframe.setAttribute("src", "gap://ready");
document.documentElement.appendChild(iframe);
iframe.parentNode.removeChild(iframe);
iframe = null;

I found when using these workarounds that, as well as the Facebook and Google Analytics plugins
failing, console.log calls would also tend to break.  (On a separate point, I'd really love
to disable Cordova's console.log override, since it stops console.log output being sent to
the inbuilt remote webkit inspector.)

>From some additional debugging code I added in, it would appear as if Cordova stops sending
"gap://ready" messages through to the native environment.  I've not been able to establish
why that's the case.  Unfortunately I don't have the time right now to dig any deeper into
this issue, and not being familiar with Cordova's codebase I'm shooting in the dark when looking
for solutions.

I don't understand why my solution doesn't work, but perhaps a Cordova developer may have
an insight into this?
                
> 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

        

Mime
View raw message