Fastclick conflicting with ng-click


#1

After reading other topics, and looking through the documentation. Does Ionic have it’s own implementation for the fastclick polyfill? In a previous project, I used fastclick.js, and it worked great. I’ve noticed that Ionic doesn’t seem to be as snappy by default so I tried to bring in fastclick.js again. It helps, but some ng-click events are not firing.

One example is in the $ionicModal when fastclick.js is in use, the cancel button doesn’t fire it just locks up and I can’t close it (unless I hold my finger on it long enough). Without fastclick.js, it is working fine but I’m getting the click delay…


#2

Right now we have our own fastclick implementation, correct. We plan on moving to fastclick but there were a few issues we need to fix in the mean time. Thanks!


#3

Related blog post:
http://ionicframework.com/blog/hybrid-apps-and-the-curse-of-the-300ms-delay/


#4

it doesn’t work by default @adam, fastclick or something is needed