user3046970 user3046970 - 1 year ago 93
HTML Question

FastClick and click() event trigger trouble

I have trouble when I include FastClick in my proj. All works fine and 300ms delay on mobile devices is lost but programmatically triggering click() event doesnt work on mobile now.

Answer Source

It says this in the documentation (well, the page you linked under advanced)

This is where the needsclick class comes in. Add the class to any element that requires a non-synthetic click.

So add the class needsclick to the elements you want to manual trigger "click" with

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download