Wednesday, May 23, 2012

mobile webkit alert dialog breaks touch event cycle

The mobile webkits on Android and iOS both contain a bug. If you make a call to alert during a touchend event, the browser ends up in a weird state where it refires the original touch start event as soon as you touch anywhere on the display.

This has led to a bug report on mgwt:
This has absolute no effect on desktop browsers and can only be observed on mobile webkits.

From now on mgwt fixes this in all aggregated events (like Tap, LongTap, etc.) with deferred binding without any runtime penalties for unaffected browsers. Internally we are scheduling a command to be executed so that the entry of your execution is no longer the touchend event.

Of course we need to file a bug with the webkit open source project to get this fixed in the long run.


  1. Has a bug been filed with the web-kit open source project?
    If so, could you provide a link to the bug?

  2. l want to do much things, to help others ,we can do it,we love the pannier bag bicycle, the bicycle panniers,if we like this ,we also can use the bike pannier backpack, l want to do it, sometime we can do it ,we can use the bike bicycle pannier bags, we also have the pannier backpack , the waterproof pannier bike , l like this, we use the leather pannier bags, like this,we can use the pannier bike.