Fastclick.js

Stumbled upon this today (thank you Zite):

https://github.com/ftlabs/fastclick

So far, it has seemed to help my app out. I'll have to do more testing, but so far so good.


Might be worth checking out if your having some lag issues.

Comments

  • In theory, the tap event in Enyo should have the same utility on devices that generate touch events.
  • Enyo's "ontap" works great for me. Using "enyo.asyncMethod" in the tap handler gave the appearance of reducing lag also (i.e. let a button animate the press and release before the code slows things down).
  • After messing around with it, it does seem to offer slight improvement in some areas, but kinda messes up other things. So for enyo2, this probably isn't needed. Might help out enyo1 though.
Sign In or Register to comment.