{ "id": "97577", "key": "TIMOB-10023", "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": [], "resolution": null, "resolutiondate": null, "created": "2012-07-18T11:58:39.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "reprod" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "18986", "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": null, "updated": "2018-02-28T20:03:53.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "\r\nComplex events (swipe, pinch, longpress, etc.) are not recognized on text elements:\r\n\r\n{{app.js}}\r\n{code}\r\nvar window = Ti.UI.createWindow({backgroundColor: 'white'});\r\n \r\nvar eventInfo = function(e){\r\n    Ti.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    title:'Toggle Scollable',\r\n    top:100\r\n})\r\n \r\ntoggle.addEventListener('click',function(e){\r\n    txt2.scrollable = !txt2.scrollable;\r\n    Ti.API.info(txt2.scrollable);\r\n});\r\n \r\nwindow.add(toggle);\r\n \r\ntxt2.addEventListener('lswipe', eventInfo);\r\ntxt2.addEventListener('rswipe', eventInfo);\r\ntxt2.addEventListener('pinch', eventInfo);\r\ntxt2.addEventListener('longpress', eventInfo);\r\n \r\nwindow.open();\r\n{code}\r\n\r\nThis example should be modified to ensure that text fields process these events correctly as well.\r\n\r\n*NOTE:* If gesture recognition interferes with underlying behavior (it shouldn't, necessarily) then this ticket should be invalidated.", "attachment": [], "flagged": false, "summary": "iOS: Gestures not recognized on interactive text elements (fields/areas)", "creator": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "246839", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Longpress evevnt works as expected, but swipe and pinch event not firing.\n\n\n\nTested with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 \nTitanium SDK version: 3.0.2 \niOS iPhone Simulator: iOS SDK version: 6.0\n\n\n", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-10T09:11:27.000+0000", "updated": "2013-04-10T09:11:27.000+0000" }, { "id": "422919", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\niPhone 7 (10.2)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1.v20170623141152\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.1\r\nTi CLI 5.0.13\r\nAlloy 1.9.11\r\nArrow 2.0.0\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-26T23:27:50.000+0000", "updated": "2017-06-26T23:27:50.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }