{ "id": "95055", "key": "TIMOB-9958", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "13573", "description": "Sprint 2012-15 API", "name": "Sprint 2012-15 API", "archived": true, "released": true, "releaseDate": "2012-07-30" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-04-01T20:14:30.000+0000", "created": "2012-07-12T16:52:03.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "module_textarea", "parity", "qe-testadded" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "19145", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "97911", "key": "TIDOC-709", "fields": { "summary": "APIDoc: TextArea on iOS now fires click events.", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "18984", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "97578", "key": "TIMOB-10024", "fields": { "summary": "IOS: TextField does not fire click events.", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "18985", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "97578", "key": "TIMOB-10024", "fields": { "summary": "IOS: TextField does not fire click events.", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-04-01T20:14:30.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "TextArea seems to eat all touch events. Observed while testing TIMOB-8015 filed against master.", "attachment": [], "flagged": false, "summary": "IOS: TextArea does not fire click events.", "creator": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "208153", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Test Case\r\n{code}\r\n\r\nvar window = Ti.UI.createWindow({backgroundColor: 'white'});\r\n\r\nvar eventInfo = function(e){\r\n\tTi.API.info(e.type+' '+e.source);\r\n}\r\n \r\nvar txt2 = Ti.UI.createTextArea({\r\n top: '10',\r\n left: '10',\r\n right:'10',\r\n height:'60',\r\n color:'#336699',\r\n boderWidth:2,\r\n borderColor:'#555',\r\n value: '',\r\n scrollable:false\r\n});\r\n \r\nwindow.add(txt2);\r\n\r\nvar toggle = Ti.UI.createButton({\r\n\ttitle:'Toggle Scollable',\r\n\ttop:100\r\n})\r\n\r\ntoggle.addEventListener('click',function(e){\r\n\ttxt2.scrollable = !txt2.scrollable;\r\n\tTi.API.info(txt2.scrollable);\r\n});\r\n\r\nwindow.add(toggle);\r\n\r\ntxt2.addEventListener('focus',eventInfo);\r\ntxt2.addEventListener('blur',eventInfo);\r\ntxt2.addEventListener('click',eventInfo);\r\ntxt2.addEventListener('touchstart',eventInfo);\r\ntxt2.addEventListener('touchend',eventInfo);\r\ntxt2.addEventListener('touchmove',eventInfo);\r\ntxt2.addEventListener('touchcancel',eventInfo);\r\n\r\nwindow.open();\r\n{code}\r\n\r\n", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-07-17T13:39:57.000+0000", "updated": "2012-07-17T13:39:57.000+0000" }, { "id": "208158", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending https://github.com/appcelerator/titanium_mobile/pull/2589", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-07-17T13:44:47.000+0000", "updated": "2012-07-17T13:44:47.000+0000" }, { "id": "209209", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Click events aren't documented as supported on any platforms, so we're going to need to open parity tickets and a doc bug:\r\n\r\nhttp://docs.appcelerator.com/titanium/2.1/#!/api/Titanium.UI.TextArea\r\n\r\n", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-24T14:53:07.000+0000", "updated": "2012-07-24T14:53:07.000+0000" }, { "id": "213503", "author": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Reopening to update labels", "updateAuthor": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2012-08-09T00:59:25.000+0000", "updated": "2012-08-09T00:59:25.000+0000" }, { "id": "215788", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Occurs on:\r\nTitanium Studio: 2.1.2.201208201549\r\nTitanium SDK: 2.1.2.v20120821160113\r\nDevice: iPad3 (v5.1)\r\nFixed with SDK: 2.2.0.v20120808154112", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-23T06:10:17.000+0000", "updated": "2012-08-23T06:10:17.000+0000" }, { "id": "238530", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The Click event does not fire for Text Area.\r\nThis is a regression. As the issue did not occur on 3.0.0 GA\r\nTested On:\r\nStudio: 3.0.2.201302081641\r\nSDK: 3.0.2.v20130207164659\r\nDevice: iPhone 4S (v5.1)", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-14T11:51:22.000+0000", "updated": "2013-02-14T11:51:22.000+0000" }, { "id": "238583", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Note to QE:\nThe difference in behavior you are seeing is due to the changes made for TIMOB-11866.\n\nBasically we moved the click event from the touchesBegan to touchesEnded/UITouchPhaseEnded section. Which means while previously the click event would fire immediately after the touchStart event it now fires after the touchEnd event.\n\nBut for textArea (and I guess textField as well) the touchEnd field never fires (instead the touchCancel event fires). So you never see the click event. This is expected behavior.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-02-14T18:48:25.000+0000", "updated": "2013-02-14T18:48:25.000+0000" }, { "id": "244939", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and verified an expected behavior, as per Vishal.\nTitanium Studio, build: 3.1.0.201303291358\nTitanium SDK, build: 3.1.0.v20130331073351\nDevices:\niPad mini iOS 6.0\niPad 4 iOS 6.1.3\nTest steps:\n1. Touch the text area\nActual result:\n [INFO] touchstart [object TiUITextArea]\n [INFO] focus [object TiUITextArea]\n [INFO] touchcancel [object TiUITextArea]\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-01T18:23:36.000+0000", "updated": "2013-04-01T18:23:36.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }