{ "id": "174232", "key": "TIMOB-27520", "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": null, "resolutiondate": null, "created": "2019-10-08T13:03:49.000+0000", "priority": null, "labels": [ "android", "fullscreen" ], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-11-04T20:06:47.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "{code}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nWhen running this code and focusing the Textfield the window will move up and you can't scroll up in the tableview to the first element.\r\n\r\nnormal view:\r\n !Screenshot_20191008-144600.png|thumbnail! \r\n\r\nkeyboard up, can't scroll the tableview to the top elements:\r\n !Screenshot_20191008-144609.png|thumbnail! \r\n\r\nTried different {{windowSoftInputMode}} but nothing changed. Setting fullscreen to false will allow you to scroll all the way up to the first element.\r\n\r\nNot sure if it is native behaviour but perhaps there is a flag that is missing to make you scroll up to the first element again. \r\n\r\nTi SDK: 8.2.0.GA\r\nAndroid 7.0.1", "attachment": [ { "id": "67024", "filename": "Screenshot_20191008-144600.png", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-10-08T12:58:58.000+0000", "size": 13657, "mimeType": "image/png" }, { "id": "67023", "filename": "Screenshot_20191008-144609.png", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-10-08T12:58:58.000+0000", "size": 28513, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Fullscreen Window cuts of elements when keyboard is visible", "creator": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "452435", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~michael], I have tested the issue in Android emulators 7.1.1, 8.0, 9.0 version. I see the issue is all the same everywhere. After the virtual keyboard opens, the table view does not scroll up on top. [~jquick], Can you please look into this? Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-11-03T19:36:52.000+0000", "updated": "2019-11-03T19:37:04.000+0000" }, { "id": "452457", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sorry. I don't have time to look into this at the moment.\r\n\r\nBut what I do know is that an activity's default \"windowSoftInputMode\" setting used to be \"adjustResize\", which will resize the activity window to fit between the top StatusBar/ActionBar and bottom VirtualKeyboard/NavigationBar. Meaning that the virtual keyboard is not supposed to *overlap* the window content when \"adjustResize\" is set. Based on the screenshots, it looks like it is doing an \"adjustPan\" instead.\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-11-04T19:57:24.000+0000", "updated": "2019-11-04T19:57:24.000+0000" }, { "id": "452458", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hmm... apparently \"adjustResize\" won't resize the window content if the status bar has been removed (aka: \"fullscreen\" mode). Google has a ticket written about this marked \"Won't Fix\".\r\nhttps://issuetracker.google.com/issues/36911528\r\n\r\nThis is an ugly topic on stackoverflow...\r\nhttps://stackoverflow.com/questions/7417123/android-how-to-adjust-layout-in-full-screen-mode-when-softkeyboard-is-visible/19494006\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-11-04T20:03:17.000+0000", "updated": "2019-11-04T20:03:53.000+0000" }, { "id": "452459", "author": { "name": "lukic", "key": "lukic", "displayName": "Srdjan Lukic-Bardak", "active": true, "timeZone": "Europe/Berlin" }, "body": "The windowSoftInputMode has no effect. I've tried all possibles options provided in the titanium api. All with same output as shown above. ", "updateAuthor": { "name": "lukic", "key": "lukic", "displayName": "Srdjan Lukic-Bardak", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-11-04T20:03:58.000+0000", "updated": "2019-11-04T20:03:58.000+0000" }, { "id": "452460", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Right. Setting \"windowSoftInputMode\" to \"adjustSize\" only works if not fullscreen. That's an issue on Google's end as can be seen by my links above.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-11-04T20:06:47.000+0000", "updated": "2019-11-04T20:06:47.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }