{ "id": "171243", "key": "AC-5643", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2018-03-06T10:50:01.000+0000", "created": "2018-03-06T05:30:49.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-03-07T01:30:19.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I need to perform some logic when user clicks on button.It responds when we click normally but when we click continuously it doesn't respond.So how to handle this situation in this scenario.I tried to put loader also but that doesn't work.Sharing the code as well as video.\r\n\r\nI need to sort this on iOS. ", "attachment": [ { "id": "64926", "filename": "Button_event.mov", "author": { "name": "sonufana4u", "key": "sonufana4u", "displayName": "sonufana4u", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2018-03-06T05:30:38.000+0000", "size": 1512106, "mimeType": "video/quicktime" }, { "id": "64927", "filename": "index.js", "author": { "name": "sonufana4u", "key": "sonufana4u", "displayName": "sonufana4u", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2018-03-06T05:30:01.000+0000", "size": 108, "mimeType": "text/javascript" }, { "id": "64928", "filename": "index.tss", "author": { "name": "sonufana4u", "key": "sonufana4u", "displayName": "sonufana4u", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2018-03-06T05:29:48.000+0000", "size": 159, "mimeType": "application/octet-stream" }, { "id": "64929", "filename": "index.xml", "author": { "name": "sonufana4u", "key": "sonufana4u", "displayName": "sonufana4u", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2018-03-06T05:29:31.000+0000", "size": 106, "mimeType": "text/xml" } ], "flagged": false, "summary": "Button event doesn't respond if we click continuously", "creator": { "name": "sonufana4u", "key": "sonufana4u", "displayName": "sonufana4u", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "sonufana4u", "key": "sonufana4u", "displayName": "sonufana4u", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Operating System\r\nName = Mac OS X\r\nVersion = 10.13.1\r\nArchitecture = 64bit\r\n\r\nCPUs = 4\r\nMemory = 8589934592\r\nNode.js\r\nNode.js Version = 8.9.3\r\nnpm Version = 5.5.1\r\nTitanium CLI\r\nCLI Version = 5.0.14\r\nTitanium SDK\r\nSDK Version = 7.0.1.GA", "comment": { "comments": [ { "id": "435237", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi [~shossain], this is not really a bug. If you want to get an event every time you touch a button use a different event, the touchstart event. http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Button-event-touchstart\r\n\r\nPlease ask in the community if you need help implementing something. I'm also there to help (Stackoverflow/TiSlack)", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-03-06T10:49:25.000+0000", "updated": "2018-03-06T10:49:25.000+0000" }, { "id": "435238", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "Of course meant to mention [~sonufana4u] :)", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-03-06T10:50:30.000+0000", "updated": "2018-03-06T10:50:30.000+0000" }, { "id": "435287", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Right. This is the correct behavior on iOS.\r\n\r\nA single tap will fire a \"click\" event.\r\nA quick double tap will fire a \"dblclick\" event.\r\n\r\nTapping more than 2 times in quick succession (I think less than 300 milliseconds between taps) will not fire a \"click\" or \"dblclick\" event. But that said, every quick tap will fire a \"touchend\" event... even if it registers as a single click or double click. So, \"touchend\" might be what you're after.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-07T01:30:19.000+0000", "updated": "2018-03-07T01:30:19.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }