robertocarroll / barjeel-app

Phonegap app using Backbone Marionette and Ratchet
MIT License
0 stars 1 forks source link

Tap issues #35

Open robertocarroll opened 8 years ago

robertocarroll commented 8 years ago
  • Sometimes, I could not click on the answers in the game. They just wouldn't click, I am not sure if this is to do with the app or with my phone.
  • In the "Connect" section, I also had to click many times on some of the contributors' photos for them to "click", and then once I've viewed a person, sometimes it wouldn't click to go back. So I had to quit and restart the app. Again, I am not sure if this is my phone or the app, but it has never really happened to my phone before.
robertocarroll commented 8 years ago

I've increased the TAP_THRESHOLD to 500 to account for a lingering tap. If that doesn't fix it, I will have to go back to native Tap_end event (which I got rid of because of the feedback about accidentally tapping the questions and the posts while scrolling.)

See also: https://github.com/GianlucaGuarini/Tocca.js/issues/11

robertocarroll commented 8 years ago

So Tocca didn't seem to work very well. The latest version is using a custom bit of code:

If this isn't satisfactory, we will have to just go with touchend I think or get another opinion from somewhere.