touchend event in ios webkit not firing?

后端 未结 4 971
滥情空心
滥情空心 2021-02-04 16:08

I\'m trying to implement a menu for a ios webkit based app in which the user touches/clicks and holds a menu button (\'.menu_item\'), after 500ms the sub menu opens (div.slide_u

4条回答
  •  走了就别回头了
    2021-02-04 16:37

    For your "touchmove" event;

    If you do not want to do anything on touchmove:

    return false;
    

    If you with to prevent the default behavior but execute some code on touchmove:

    e.preventDefault();
    

    This issue is more pronounced on iPads.

提交回复
热议问题