{ "id": "119246", "key": "TIMOB-15001", "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": "15691", "description": "2013 Sprint 19", "name": "2013 Sprint 19", "archived": true, "released": true, "releaseDate": "2013-09-20" }, { "id": "15693", "description": "2013 Sprint 19 API", "name": "2013 Sprint 19 API", "archived": true, "released": true, "releaseDate": "2013-09-20" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-09-19T22:50:27.000+0000", "created": "2013-08-29T13:29:11.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "iOS", "iOS6", "iPad-Mini", "module_keyboard", "qe-testadded", "titanium" ], "versions": [ { "id": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-10-16T09:22:16.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": "keyboardframechanged event does not fire in case of iPad-Mini running iOS version 6.0.1.\r\n\r\nSample code to test the issue:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:'#ffffff'\r\n});\r\n\r\nvar txtArea = Ti.UI.createTextArea({\r\n borderWidth : 2,\r\n borderColor : '#bbb',\r\n borderRadius : 5,\r\n color : '#888',\r\n font : {\r\n fontSize : 12,\r\n fontWeight : 'bold'\r\n },\r\n textAlign : 'left',\r\n top : 10,\r\n left : 10,\r\n right : 10,\r\n suppressReturn : false\r\n});\r\n\r\nwin.add(txtArea);\r\n\r\nTi.App.addEventListener(\"keyboardframechanged\", function(e) {\r\n alert(\" keyboardFrame.height\"+ e.keyboardFrame.height); //console.log does not always work well.\r\n txtArea.setBottom(e.keyboardFrame.height);\r\n});\r\n\r\nwin.addEventListener('focus', function(e) {\r\n txtArea.focus();\r\n});\r\n\r\nwin.open();\r\n{code}", "attachment": [ { "id": "42311", "filename": "iPadMini_TextAreaFocus.mov", "author": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-09T10:58:20.000+0000", "size": 4212964, "mimeType": "video/quicktime" } ], "flagged": false, "summary": "iOS: keyboardframechanged does not fire", "creator": { "name": "anigam", "key": "anigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "anigam", "key": "anigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Titanium Mobile SDK, iOS-version 6.0.1, iPAD-Mini.", "comment": { "comments": [ { "id": "268890", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ingo][~dcassenti] Tested the above code on ipad mini running 6.1.3 , iPad 4 running iOS beta 6 and could reproduce the issue. This is definitely **not** a iOS 7 issue. Don't have a 6.0.1 device with me so leaving it open for now. ", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-29T17:36:22.000+0000", "updated": "2013-08-29T17:36:22.000+0000" }, { "id": "268912", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Suggesting that the customer see if they can recreate the issue with the following fixed code:\n\n{code}\nvar win = Ti.UI.createWindow({\n backgroundColor:'#ffffff'\n});\n \nvar txtArea = Ti.UI.createTextArea({\n borderWidth : 2,\n borderColor : '#bbb',\n borderRadius : 5,\n color : '#888',\n font : {\n fontSize : 12,\n fontWeight : 'bold'\n },\n textAlign : 'left',\n top : 10,\n left : 10,\n right : 10,\n suppressReturn : false\n});\n \nwin.add(txtArea);\n \nTi.App.addEventListener(\"keyboardframechanged\", function(e) {\n alert(\" keyboardFrame.height\"+ e.keyboardFrame.y); //console.log does not always work well.\n txtArea.setBottom(win.rect.height - e.keyboardFrame.y + 30); //That's 20 for the nav bar, 10 for bottom margin.\n});\n \nwin.addEventListener('focus', function(e) {\n txtArea.focus();\n});\n \nwin.open();\n{code}\n\nIf this solves their issue, will be moving to mark invalid; the keyboard height itself doesn't change, it just slides offscreen. The original code in the ticket didn't take that into consideration.\n\nMarking ticket as needs more info for customer feedback.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-29T18:39:00.000+0000", "updated": "2013-08-29T18:39:00.000+0000" }, { "id": "271580", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending\r\nmaster - https://github.com/appcelerator/titanium_mobile/pull/4707", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-17T22:00:28.000+0000", "updated": "2013-09-17T22:00:28.000+0000" }, { "id": "275261", "author": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Tested with: \r\nOSX: 10.8.5\r\nXcode:5.0\r\nAppcelerator Studio: 3.2.0.201310152434\r\nSDK:3.2.0.v20131014204636\r\nacs:1.0.7\r\nalloy:1.2.2\r\nnpm:1.3.2\r\ntitanium:3.2.0\r\ntitanium-code-processo:1.0.3\r\nDevice: iPad Mini 6.0", "updateAuthor": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-10-16T09:22:16.000+0000", "updated": "2013-10-16T09:22:16.000+0000" } ], "maxResults": 17, "total": 17, "startAt": 0 } } }