{ "id": "113049", "key": "TIMOB-13618", "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": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2017-05-24T23:01:08.000+0000", "created": "2013-04-18T07:16:41.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "27924", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "78728", "key": "TIMOB-4882", "fields": { "summary": "iOS: leftPadding on a textField 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": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-24T23:01:08.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": "*Problem description*\r\nWhen using leftPadding on a textfield it causes the textfield to become quite user un-friendly.\r\n\r\nThere are two main issues:\r\n\r\n1) Even though you only add say 20px of leftPadding, almost 100px of the field becomes un-clickable.\r\n\r\n2) The same space does not react to a longpress for magnifying glass i.e. 100px from the left is un-clickable what's so ever. So for example if you managed to type text into the box, you cannot edit text that appears in the first 100px of the field, unless you first long-press to the right hand side and drag to the left.\r\n\r\n*Expected behavior*\r\nCan click within the padded area to activate the text field and longpress to reveal the magnifying glass.\r\n\r\n*Actual behavior*\r\nCannot click within the padded area to activate the text field or longpress to reveal the magnifying glass.\r\n\r\n*Test case*\r\n{code}\r\nvar win = Titanium.UI.createWindow({\r\n\tbackgroundColor : '#fff'\r\n});\r\n\r\nwin.add(Ti.UI.createTextField({\r\n\tpaddingLeft : 20,\r\n\tborderStyle : Ti.UI.INPUT_BORDERSTYLE_NONE,\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}));\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: leftPadding on textfield causes clicking issues", "creator": { "name": "swanify", "key": "swanify", "displayName": "Matthew Lanham", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "swanify", "key": "swanify", "displayName": "Matthew Lanham", "active": true, "timeZone": "Europe/London" }, "environment": "iOS", "comment": { "comments": [ { "id": "248201", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed on iOS 6 simulator with 3.1 GA.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-18T18:43:13.000+0000", "updated": "2013-04-18T18:43:13.000+0000" }, { "id": "259153", "author": { "name": "swanify", "key": "swanify", "displayName": "Matthew Lanham", "active": true, "timeZone": "Europe/London" }, "body": "Seriously? still unresolved, this has been around since Aug 2011 original bug report [TIMOB-4882] come on guys, this is a silly bug that causes the textfields to be completely useless!", "updateAuthor": { "name": "swanify", "key": "swanify", "displayName": "Matthew Lanham", "active": true, "timeZone": "Europe/London" }, "created": "2013-06-24T12:30:54.000+0000", "updated": "2013-06-24T12:30:54.000+0000" }, { "id": "420403", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing this ticket as the issue cannot be reproduced with the following environment; \r\niPhone 7 (10.2) \r\nMacOS 10.11.6 (15G31) \r\nStudio 4.9.0.201705021158 \r\nTi SDK 6.1.0.v20170519131839 \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.7.0_80", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-24T23:01:08.000+0000", "updated": "2017-05-24T23:01:08.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }