{ "id": "162516", "key": "TIMOB-23757", "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": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-04-12T17:51:36.000+0000", "created": "2016-08-10T18:47:13.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "17972", "name": "Release 5.3.1", "archived": false, "released": true, "releaseDate": "2017-02-06" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-04-19T22:18:28.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h6. Description\r\nJust define TextField alignment to the right side and place it bottom of the window. Now touch on it for entering value and click back button then again touch it, now you will see the issue.\r\n\r\nh6.Steps to Reproduce.\r\n\r\n1. Click on the textbox then soft keyboard will appear and a textbox is able visible. \r\n2. Click on the hardware back button, then the soft keyboard will disappear. \r\n3. Again, click on the textbox box, then soft keyboard is appears, but text box is unable to visible.\r\n\r\nActual result : Unable see the textbox.\r\n\r\nExpected result : Able see the textbox for entering the value.\r\n\r\nTest Case:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white'\r\n});\r\n\r\nvar customermodule = require('com.customerissue');\r\nTi.API.info(\"module is => \" + customermodule);\r\n\r\nvar textField = Ti.UI.createTextField({\r\n\ttop : \"400\",\r\n\t//left : 10,\r\n\twidth : 200,\r\n\theight : \"50\",\r\n\tborderRadius : 4,\r\n\tborderWidth : 1,\r\n\ttextAlign : Titanium.UI.TEXT_ALIGNMENT_RIGHT,\r\n\tborderColor : \"#1c76bc\",\r\n\tkeyboardType : Ti.UI.KEYBOARD_NUMBER_PAD,\r\n\treturnKeyType : Titanium.UI.RETURNKEY_NUMBER_PAD,\r\n\tcolor : '#3b3c3f',\r\n\r\n});\r\n\r\nwin.add(textField);\r\n\r\nwin.open();\r\n\r\n{code}\r\nThanks.\r\n", "attachment": [], "flagged": false, "summary": "Android: TextField goes behind the keyboard when textAlign right position.", "creator": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.11.4\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 4.4.5\r\n npm Version = 2.15.5\r\nTitanium CLI\r\n CLI Version = 5.0.8\r\nTitanium SDK\r\n SDK Version = 5.3.1.GA\r\n Target Platform = android (4 - later)", "closedSprints": [ { "id": 871, "state": "closed", "name": "2017 Sprint 08 SDK", "startDate": "2017-04-10T15:40:31.217Z", "endDate": "2017-04-24T15:40:00.000Z", "completeDate": "2017-04-23T21:46:37.098Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "395938", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~morahman] Using the test case provided, I cannot reproduce the issue on either my device or emulator. What device are you using and what version on Android?", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-12T22:01:32.000+0000", "updated": "2016-09-12T22:02:24.000+0000" }, { "id": "404175", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I also can't reproduce the issue in SDK 6.0.1.GA in Android 6.0.1. device. \r\n\r\n1. Click on the textbox then soft keyboard will appear and textbox is visible.\r\n2. Click on the hardware back button, then the soft keyboard will disappear.\r\n3. Again, click on the textbox box, again soft keyboard appears, textbox is visible as expected.\r\n\r\nThanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-01-05T21:52:07.000+0000", "updated": "2017-01-05T21:52:07.000+0000" }, { "id": "415511", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce the issue with sdk 6.0.3.GA, 6.0.2.GA, 6.0.1.GA.\r\n\r\nAppc Studio : 4.8.1.201612050850\r\nMac OS Version : 10.12.3\r\nXcode Version : Xcode 8.2.1 Build version 8C1002\r\nAppc CLI AND Appc NPM : {\"NPM\":\"4.2.8\",\"CLI\":\"6.1.0\"}\r\nTi CLI : 5.0.11\r\nAlloy : 1.9.5\r\nNode : v4.6.0\r\nNexus 6 running 6.0.1\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T22:54:10.000+0000", "updated": "2017-03-23T22:54:10.000+0000" }, { "id": "416674", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/8922", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-04-03T18:16:30.000+0000", "updated": "2017-04-03T18:16:30.000+0000" }, { "id": "417721", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix in 6.2.0.v20170419095718. Test and other information can be found at: https://github.com/appcelerator/titanium_mobile/pull/8922", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-04-19T22:17:25.000+0000", "updated": "2017-04-19T22:17:25.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }