munkychop/swiftclick

[Bug] Two events on Android

Closed this issue · 8 comments

Configuration:

var swiftclick = SwiftClick.attach(document.body);

It works well on iOS but on Android it doesn't work. The click event fires twice per click. But if I do a "long press" it works !

OS: Android 4.2.2

Thanks for the report dhoko. On which device/s did this problem occur?

Nexus 10 and Samsung Galaxy tab 3.

I have access to a Nexus 10, so will investigate this evening, if possible.

It was inside a webview (cordova), doesn't test on the browser.

I have a small amount of experience with Cordova, so can still test if necessary, but does Cordova already do something clever on Android to implement what SwiftClick is also doing? If so then this isn't a bug with SwiftClick.

Hu ? I don't find any sources about this :/

In that case I'll have a look later, if possible.

This should now be fixed in the latest release (1.1.3). Please test and re-open the issue if you are still experiencing the problem.

Apologies for the delay.