{ "id": "162911", "key": "AC-4406", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2016-09-05T16:01:38.000+0000", "created": "2016-08-31T13:58:25.000+0000", "labels": [ "right", "space", "textalign", "textfield" ], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-09-05T16:18:09.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "writing in the text field with the alignment set right when writing a not detect space to write another character.\r\n\r\nHow to reproduce:\r\n\r\n{code:java}\r\nvar field = Ti.UI.createTextField({\r\n textAlign:'right'\r\n});\r\n\r\n$.index.add(field);\r\n{code}\r\n\r\nType: \"Test.\"\r\n!A.png|thumbnail!\r\n\r\nType: \"Test. \" (add space key 3 or 4 times, here is the bug, it doesn't detect the spaces)\r\n!B.png|thumbnail!\r\n\r\nType: \"Test. n\" (add n key, the spaces appear now)\r\n!C.png|thumbnail!\r\n\r\nWith more than one space is normal to this to happen, depending on the browser and SO, but when I type just one space, it doesn't appear, this is an image:\r\n\r\n!Screen Shot 2016-09-01 at 19.00.35.png|thumbnail!", "attachment": [ { "id": "60172", "filename": "A.png", "author": { "name": "ricardo_jcp", "key": "ricardo_jcp", "displayName": "Ricardo Pereira", "active": true, "timeZone": "Europe/Lisbon" }, "created": "2016-08-31T13:51:51.000+0000", "size": 43115, "mimeType": "image/png" }, { "id": "60171", "filename": "B.png", "author": { "name": "ricardo_jcp", "key": "ricardo_jcp", "displayName": "Ricardo Pereira", "active": true, "timeZone": "Europe/Lisbon" }, "created": "2016-08-31T13:51:51.000+0000", "size": 43060, "mimeType": "image/png" }, { "id": "60170", "filename": "C.png", "author": { "name": "ricardo_jcp", "key": "ricardo_jcp", "displayName": "Ricardo Pereira", "active": true, "timeZone": "Europe/Lisbon" }, "created": "2016-08-31T13:51:51.000+0000", "size": 43237, "mimeType": "image/png" }, { "id": "60180", "filename": "Screen Shot 2016-09-01 at 19.00.35.png", "author": { "name": "ricardo_jcp", "key": "ricardo_jcp", "displayName": "Ricardo Pereira", "active": true, "timeZone": "Europe/Lisbon" }, "created": "2016-09-01T18:02:32.000+0000", "size": 13857, "mimeType": "image/png" } ], "flagged": false, "summary": "TextField doesn't detect spaces until adding some other charsets when aligned to the right", "creator": { "name": "ricardo_jcp", "key": "ricardo_jcp", "displayName": "Ricardo Pereira", "active": true, "timeZone": "Europe/Lisbon" }, "subtasks": [], "reporter": { "name": "ricardo_jcp", "key": "ricardo_jcp", "displayName": "Ricardo Pereira", "active": true, "timeZone": "Europe/Lisbon" }, "environment": "tested on iOS", "comment": { "comments": [ { "id": "395126", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Please send the full reproducible test code that regenerates the issue. Also, Provide the environment information that you are using (SDK version, node, iOS SDK version). Thanks. ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-09-01T17:52:45.000+0000", "updated": "2016-09-01T17:52:45.000+0000" }, { "id": "395344", "author": { "name": "ricardo_jcp", "key": "ricardo_jcp", "displayName": "Ricardo Pereira", "active": true, "timeZone": "Europe/Lisbon" }, "body": "I've explained with text and images, what do you need?", "updateAuthor": { "name": "ricardo_jcp", "key": "ricardo_jcp", "displayName": "Ricardo Pereira", "active": true, "timeZone": "Europe/Lisbon" }, "created": "2016-09-05T16:18:09.000+0000", "updated": "2016-09-05T16:18:09.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }