http://blog.johnmckerrell.com/2007/03/07/problems-with-safari-and-innerhtml/
> --
> You received this message because you are subscribed to the Google
> Groups "phonegap" group.
> To post to this group, send email to phon...@googlegroups.com
> To unsubscribe from this group, send email to
> phonegap+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/phonegap?hl=en?hl=en
>
> For more info on PhoneGap or to download the code go to www.phonegap.com
I believe I came across side effects. I have noticed that at some point cordova stops flushing command queue.I used iWebInspector to check the cordova object. The cordova.commandQueueFlushing property was equal to false. However, cordova.commandQueue array was not empty. It's length was greater than 1. Obviously, the condition around line #969 in cordova.js was never evaluated to true. It started working again once I set cordova.commandQueue to an empty array.I use cordova 2.0. But I've noticed this problem in 1.7. I was never able to reproduce this problem with iframe. Without iframe it happens at some point. I can't figure out the exact conditions. It seems like there is a thread race condition between native side and javascript. The problem started occurring when hooked up google analytics plugin. And only when I track "tap" event (I use zepto.js).- Greg
hi,
i also was experiencing some strange effects with -webkit-overflow-scrolling.
mostly was working, but when switching from a div to another, each 4-5 times the scroll in the 2nd div just froze.
the solution to not use the bridge was working, but i did not want to go that way, since the side effects were not clear.
so what seem to have fixed it for me was, in cordova.js (i am using 2.0.0), in the function createGapBridge, i set the following property on the newly created ifram:
gapBridge.setAttribute("-webkit-transform","translate3d(0px, 0px, 0px)");
hope that helps,
Raul.
--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
For more info on PhoneGap or to download the code go to www.phonegap.com
hi,
i also was experiencing some strange effects with -webkit-overflow-scrolling.
mostly was working, but when switching from a div to another, each 4-5 times the scroll in the 2nd div just froze.
the solution to not use the bridge was working, but i did not want to go that way, since the side effects were not clear.
so what seem to have fixed it for me was, in cordova.js (i am using 2.0.0), in the function createGapBridge, i set the following property on the newly created ifram:
gapBridge.setAttribute("-webkit-transform","translate3d(0px, 0px, 0px)");
hope that helps,
Raul.
Am Sonntag, 4. März 2012 22:48:42 UTC+1 schrieb dp_Lewis:
Hi all,this does not work for me on iPad iOS 5.1.1.
Removing the gap bridge when the queue is empty does nothing.The reverse scrolling appears as soon as I append an iframe into the dom.