{ "id": "124001", "key": "TIMOB-16047", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2013-12-19T00:36:48.000+0000", "created": "2013-12-19T00:32:28.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [ { "id": "33924", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "123899", "key": "TIMOB-16014", "fields": { "summary": "iOS: TextField doing setSelection from and to set to length of text is reversing the textfield value", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-14T04:57:39.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": "{code}\r\nvar win = Titanium.UI.createWindow({backgroundColor:'#ccc'});\r\nvar textField = Ti.UI.createTextField({\r\n width: 250, top: 100,\r\n backgroundColor: 'white'\r\n});\r\nwin.add(textField);\r\nwin.open();\r\n{code}\r\n1. Create app with the above code.\r\n2. Enter a word and allow the phone to auto-complete for you\r\n3. Press space and enter another word\r\nNOTE: (Good idea to keep on going til the you have scrolled off screen)\r\n\r\nh3.Actual: \r\nA whitespace will be appended to the beginning of the text field.\r\n\r\nh4.Expected:\r\nNo leading whitespace", "attachment": [], "flagged": false, "summary": "iOS: Textfield adding a leading white space when text is autocorrected ", "creator": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 7 SDK , iOS 7 device", "comment": { "comments": [ { "id": "285112", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is a iOS 7 bug.\n\nThis bug can be verified using native iOS sample app. \n\nUse the following [app|https://www.dropbox.com/s/q93qgqf8cql6e68/iPhoneCoreDataRecipes.zip]\nOpen the app in Xcode.\nInstall app to device.\nclick + button on the top right.\nstart typing using autocorrect, (keep on doing till you go off screen)\nscroll back to the front observe leading whitespace.\n\nMarking ticket as Not our bug.\n ", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-19T00:36:23.000+0000", "updated": "2013-12-19T00:36:23.000+0000" }, { "id": "411960", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue is not our bug.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-14T04:57:39.000+0000", "updated": "2017-03-14T04:57:39.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }