hiukim / mind-ar-js

Web Augmented Reality. Image Tracking, Face Tracking. Tensorflow.js
MIT License
2.12k stars 391 forks source link

Neither click event nor touchstart event seem to be working on Android chrome #486

Closed rogerskk closed 5 months ago

rogerskk commented 5 months ago

I used the sample here: https://hiukim.github.io/mind-ar-js-doc/examples/interative - simplifying it to be just an image slide show and just the email and web icon links underneath. It works great using my laptop browser, but opening it on my Android phone chrome browser, the target image is recognized and I have it showing the first slide automatically, but tapping the arrows or the icons underneath don't do anything. The sample code just uses the click event. I added the touchstart event as well to see if that would help, but no luck. Anyone else run into this?

rogerskk commented 5 months ago

I realized it worked if I got closer. Not sure how to get it working when out a bit, but it is working so I will close this.