We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you run this simple app on Android and iOS you'll see that the click event on Android fires quicker:
const win = Ti.UI.createWindow(); win.addEventListener("click", function(e) { console.log("click") }) win.open();
I briefly looked into the iOS code and found:
titanium-sdk/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m
Lines 1612 to 1621 in 2f1212f
If I add another
else if ([touch tapCount] >= 2 && [proxy _hasListeners:@"click"]) { ... }
and fire a click event inside that I can click the window a lot quicker and receive click events on iOS. Has this been done on purpose?
Workaround is to use singleTap on iOS
singleTap
Fire click event as fast as the user clicks
small cool-down between the clicks is needed on iOS.
iOS
12.3.1
No response
The text was updated successfully, but these errors were encountered:
fixed in #14115
Sorry, something went wrong.
No branches or pull requests
I have searched and made sure there are no existing issues for the issue I am filing
Description
If you run this simple app on Android and iOS you'll see that the click event on Android fires quicker:
I briefly looked into the iOS code and found:
titanium-sdk/iphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m
Lines 1612 to 1621 in 2f1212f
If I add another
and fire a click event inside that I can click the window a lot quicker and receive click events on iOS. Has this been done on purpose?
Workaround is to use
singleTap
on iOSExpected Behavior
Fire click event as fast as the user clicks
Actual behavior
small cool-down between the clicks is needed on iOS.
Reproducible sample
Steps to reproduce
Platform
iOS
SDK version you are using
12.3.1
Alloy version you are using
No response
The text was updated successfully, but these errors were encountered: