1

I have a web application that has to be run on Android.

There are images on the web page that have onClick event listener (Javascript).
For some reason, the onClick event works only after A LOT of touches on the image.

Does anyone know how to fix this problem?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129

1 Answers1

0

I fixed it using onTouchStart event instead of onClick event.

Adinia
  • 3,722
  • 5
  • 40
  • 58