ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

Improve heuristic for fastclick on separate items

Open mlynch opened this issue 12 years ago • 5 comments

So one thing that the current fastclick implementation blocks is the ability to tap as quickly as possible to trigger certain events.

I understand we've made some decisions due to realities in certain platforms, but I wonder if we could take a closer look and see how to enable some of these faster tap interactions without also falling victim to ghost clicks, etc.

Just throwing this out there to continue the conversation. Specifically, being able to switch between tabs as fast as possible makes the app feel more responsive, etc.

mlynch avatar Mar 27 '14 04:03 mlynch

Switching between two tabs as fast as possible isn't a necessarily a fastclick issue, but more of a UI Router issue. Basically between each view it has to load and wire up the content every time. This is definitely an area we need to work improve, like caching previously loaded data.

As far as fastclick, you can click as fast as you like as long as its in a different location as the previous tap, or between 380ms in the exact same spot.

adamdbradley avatar Mar 28 '14 02:03 adamdbradley

When you say 'exact same spot' , do you mean the same element, some kind of 'tap area', or literally the exact same coordinates?

mbuster avatar Mar 28 '14 17:03 mbuster

The same coordinates within a 15px radius.

adamdbradley avatar Mar 28 '14 21:03 adamdbradley

Vastly improved in beta.2+

ajoslin avatar Apr 29 '14 21:04 ajoslin

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

ionitron-bot[bot] avatar Sep 06 '18 08:09 ionitron-bot[bot]