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: http://code.google.com/p/mgwt/issues/detail?id=135
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.


5 comments:

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

    ReplyDelete
  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.

    ReplyDelete
  3. Nero Platinum 2020 Crack Suite: It can be downloaded from the download link below.
    With the full version of Nero 2020, you can sort, create, turn, walk and create movies, music, and photos for the best home entertainment and fun on the go.
    It provides 360-degree experience, easy-to-use video editing, advanced video file conversion technology for watching movies on any device, and authoring and backup support for an all-digital lifestyle.

    ReplyDelete