Is there a fastclick library (or other solution) in Dart to remove the 300 ms delay (ghostclick) on mobile devices?

My application does not respond to mobile devices. It seems that many (all?) Browsers put a 300ms delay to decide if the touch was a simple or double touch.

There are solutions for this, such as fastclick , but I wonder if they have a Dart code?

EDIT: preventGhostClick there a preventGhostClick method in: ClickBuster.dart that has ever tried this method? Example?

+7
android-layout dart mobile touch touch-events
source share
1 answer

The delay is independent of any browser, JavaScript, or library such as Dart. This is how Android detects a double click, just waiting after the first click if there is a second.

In the lower-level API of Android, you can directly respond to touch-down and touch-up events. You can implement this using regular java (for example, as an Android service), but I don’t know how to name it or listen to its sensory events using Dart.

-one
source share

All Articles