Search code examples
onsen-ui

Onsen UI with Fastclick


I have read release notes last month that Onsen UI uses fastclick now.

I am not sure if this is used automatically or if I need to instantiate it.

Does anyone have or know if I need to do this as when I try click event son a touch screen it still feels like it has the usual 300ms delay.

Thanks


Solution

  • It is instantiated automatically. You don't have to instantiate it.

    https://github.com/OnsenUI/OnsenUI/blob/master/framework/js/setup.js

    Could you make a plunker so we can reproduce it? Here is a template plunker to start with. http://plnkr.co/edit/D2PBF8?p=info

    Note: In the plunker, although, the script src says it's pointing to version 1.0.3, it is actually 1.0.4