Android (4.0, 3.x): "Miss a drag as we are waiting for WebCore's response for touch down."

mcphailb's Avatar


28 Aug, 2012 12:34 AM

RoyalSlider seems to run into an issue with Android's WebCore, dumping
"Miss a drag as we are waiting for WebCore's response for touch down." to my Eclipse logcat.

To see this, point the Android browser to any page with a RoyalSlider interface (e.g., and drag through slides.

I can reproduce this on ICS and Gingerbread, but perhaps the issue may be fixed in JB:

  1. Support Staff 1 Posted by Dmytro Semenov on 28 Aug, 2012 06:34 AM

    Dmytro Semenov's Avatar


    This is Android bug related to preventing default behaviour of event, which for some reason causes this.

    I can't remove e.preventDefault(), because it'll drag browser viewport instead.

    This solution should help - in WebView. (but I also can't add it to normal build, so you'll have to modify code manually).


  2. 2 Posted by mcphailb on 28 Aug, 2012 07:03 PM

    mcphailb's Avatar

    Thanks for your response. Unfortunately, the warning is not benign: eventually, the WebCore will store multiple touches even though I'm using only one finger, at which point RoyalSlider stops responding to drags.

    I saw that SO link, but from what I can tell you have already correctly handled this case everywhere in jquery.royalslider.js, e.g.:

    if(self.hasTouch) {
        //parsing touch event
        var touches = e.originalEvent.touches;
        if(touches && touches.length > 0) {
            point = touches[0];

    Perhaps you'll find something I've overlooked.

    Since dragging is central to RoyalSlider, and I can reproduce this bug on different devices running different versions of Android, it would seem that RoyalSlider just isn't supported yet on Android devices, correct?

  3. Support Staff 3 Posted by Dmytro Semenov on 28 Aug, 2012 08:35 PM

    Dmytro Semenov's Avatar

    I've got two Android devices with 3x and ICS and none of them throw any kind of warning and dragging works relatively fine.

    Most likely it isn't slider issue and errors pops-out only in some special WebView. I've just searched over 10 pages of google, and haven't seen any solution. many touch libraries like Sencha may cause this sometimes.

    I'm not Android developer, so I can't recommend you anything speicific. But I know RoyalSlider users who create PhoneGap apps that work fine on Android. Search the problem outside the sldier JS code. If you're opening it with PhoneGap, update it.


  4. 4 Posted by mcphailb on 28 Aug, 2012 09:05 PM

    mcphailb's Avatar

    Are you sure? I can reproduce the warnings without writing any code or installing any apps. I just connect any Android phone to my computer, launch the browser app (not chrome), go to, drag the slider around, and look at the LogCat in Eclipse:

    08-28 13:40:56.616: W/webview(4654): Miss a drag as we are waiting for WebCore's response for touch down.
    08-28 13:40:56.952: W/webview(4654): Miss a drag as we are waiting for WebCore's response for touch down.
    08-28 13:40:57.147: W/webview(4654): Miss a drag as we are waiting for WebCore's response for touch down.

    That said, the warnings do seem to be benign when I'm doing this, at least on a Galaxy Nexus (4.0.4) and a Droid Bionic (2.3.4). My sliders eventually break, however, in my PhoneGap app (outside of Android WebCore, they seem to work fine, including on iOS). I also suspect that the warnings may not be benign on an HTC phone (I don't have one for testing though):

    That said, I've also exhausted Google's search results without a solution. I've tried different versions of PhoneGap, but of course I can also reproduce the warnings without PhoneGap. Ultimately, there may be no satisfying solution here. If I find something that works on my end I'll definitely let you know.

  5. 5 Posted by mcphailb on 28 Aug, 2012 10:02 PM

    mcphailb's Avatar

    By the way, this appears to be a widespread problem. I get the same warnings using your TouchCarousel, as well as:
    In fact, I can't find a javascript slider that doesn't generate this warning.

  6. 6 Posted by diegoleao on 03 Dec, 2012 01:55 PM

    diegoleao's Avatar

    Someone managed to find the solution to this warning?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac