onClick event in android webview too slow

后端 未结 2 838
刺人心
刺人心 2021-01-20 23:22

I\'ve got the feeling that javascript itself is pretty fast in an andorid webview, but there is a long delay between touching an element and the onclick event beeing fired.

2条回答
  •  独厮守ぢ
    2021-01-20 23:57

    I guess I've found the answer...

    If you take a look at jQuery mobile, you'll find a tap event. This works instantly - exactly as I need it.

    Looking deeper into the source, I've found that the tap event uses a mousedown ....

提交回复
热议问题