{ "id": "78728", "key": "TIMOB-4882", "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": "12075", "description": "", "name": "Sprint 2011-35", "archived": true, "released": true, "releaseDate": "2011-09-05" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-01-28T23:39:21.000+0000", "created": "2011-08-03T13:54:35.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [ { "id": "27924", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "113049", "key": "TIMOB-13618", "fields": { "summary": "iOS: leftPadding on textfield causes clicking issues", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "34998", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "125174", "key": "TIMOB-16278", "fields": { "summary": "When PaddingLeft is set on a textbox, the left side of the texbox is not clickable. ", "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": "Low", "id": "4" }, "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": "2017-03-24T18:16:20.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": "If you set the leftPadding in a textField, the area of the padding does not recognize a touch event for the textField to gain focus. See text code below:\r\n\r\n{code:title=app.js}\r\nvar win = Titanium.UI.createWindow({ \r\n backgroundColor:'#fff'\r\n});\r\n\r\nwin.add(Ti.UI.createTextField({\r\n\tpaddingLeft: 20, \r\n\ttop: 30, \r\n\theight: 30,\r\n\twidth: 200, \r\n\tborderRadius: 10, \r\n\thintText: 'Hello World', \r\n\tborderColor: '#000'}));\r\n\t\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: leftPadding on a textField is not clickable", "creator": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested with 1.8 on Simulator", "comment": { "comments": [ { "id": "162311", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Due to the deep nature of this change, it's highly likely that regressions will happen. This will need extensive testing.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-09T19:13:54.000+0000", "updated": "2011-08-09T19:13:54.000+0000" }, { "id": "164438", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Padding is the area around the actual text field, not within. As such, tapping on the padding is not tapping on the field, so the lack of focus is understandable. If a field focusing due to taps outside of it is desired, use a click handler to call focus.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-29T16:50:07.000+0000", "updated": "2011-08-29T16:50:07.000+0000" }, { "id": "164460", "author": { "name": "swanify", "key": "swanify", "displayName": "Matthew Lanham", "active": true, "timeZone": "Europe/London" }, "body": "What you've described above is incorrect, the problem is that paddingLeft adds space \"inside\" the textfield to pad the hint/value of the text field from the left, when this is done you cannot touch on the left side of the \"inside\" of the textfield, this has nothing to do with touching outside of the textfield.\r\n\r\nYou can quite easily replicate this with the code above, hence why i submitted code...", "updateAuthor": { "name": "swanify", "key": "swanify", "displayName": "Matthew Lanham", "active": true, "timeZone": "Europe/London" }, "created": "2011-08-30T00:40:42.000+0000", "updated": "2011-08-30T00:40:42.000+0000" }, { "id": "290113", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "By default this is the iOS Behavior the leftpadding(leftview of UITextField) does not fire any click even on the textfield. \n\nMarking ticket as invalid. \n\n[Native test|https://www.dropbox.com/s/2kklo0b04d2ob66/textfield.zip] code showing the same behavior. ", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-28T23:39:09.000+0000", "updated": "2014-01-28T23:39:09.000+0000" }, { "id": "415653", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T18:16:20.000+0000", "updated": "2017-03-24T18:16:20.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }