On Tue, Oct 30, 2012 at 8:28 PM, Alessandro Preziosi (licnep) < [email protected]> wrote:
> >>There's also something strange in how the webview updates during touch > >>events. For example, i have animated a loading icon (using > >>window.setInterval), and if you touch the screen during the animation > >>it freezes, it is not updated anymore, it only starts moving again > >>when you lift your finger... > > > >That's really odd. It's possible that it thinks you selected it. > >Does it get an orange border around it? > it doesn't, it looks like a system wide problem, it also happens with > my browser (dolphin browser) and the default one. If you try to go on > pages with animations (eg: http://fx.inetcat.com/ or > http://jsanim.com/ ), you can that see the animations stop if you put > your finger on the screen and start moving it around (if you just > touch the problem doesn't happen, only if you 'drag'). It's a bit of > an annoying issue when trying to build native looking apps... hope it > gets fixed, or a workaround is found > My understanding is as follows: Unless you preventDefault() on the touchstart event, then dragging your finger will attempt to scroll the page. Once scroll mode has begun, no JS callbacks are called until you lift your finger and exit scroll mode.
