[TIMOB-9926] iOS: Gesture: 'click' event fired before every 'swipe'
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2013-03-28T08:47:28.000+0000 |
Affected Version/s | Release 2.1.0 |
Fix Version/s | Release 3.0.2 |
Components | iOS |
Labels | api, parity, qe-testadded |
Reporter | Kanat Asanbekov |
Assignee | jithinpv |
Created | 2012-07-10T17:13:03.000+0000 |
Updated | 2017-03-17T18:44:14.000+0000 |
Description
Description:
While running the attached code the log shows a 'click' event fired before every 'swipe'
This is not regression it occurs on SDK 2.1.0.GA
var win = Ti.UI.createWindow({
backgroundColor: '#fff',
fullscreen: false,
exitOnClose: true
});
var events = [
'click',
'swipe'
];
var addListener = function(eventName) {
win.addEventListener (eventName, function(e) {
Ti.API.info(eventName);
});
}
for (var i = 0; i < events.length; i++) {
addListener(events[i]);
}
win.open();
Steps to reproduce:
1) create new studio project with attached code and run on device
2) run console using Xcode
3) swipe across screen and check console
Result:
'click' event fired before every 'swipe'
Expected Result:
only 'swipe' events
Issue does not reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 Titanium SDK version: 3.0.2 iOS iPhone Simulator: iOS SDK version: 6.0
Issue does not reproduces Tested with iOS SDK: 5.1 iOS iPhone Simulator: 5.1 Mac OS X Version 10.7.5 Titanium SDK version 3.1.1.v20130606121419 Titanium Studio, build: 3.0.1.201212181159
Closing ticket as the issue cannot be reproduced.