{ "id": "170681", "key": "TIMOB-25629", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2018-03-13T21:51:19.000+0000", "created": "2017-12-25T18:20:15.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "escalation" ], "versions": [ { "id": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" }, { "id": "19988", "description": "", "name": "Release 7.0.1", "archived": false, "released": true, "releaseDate": "2017-12-21" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-08-06T17:37:04.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": "I am coming across an issue with webview for android. I have explained it in this screencast (video/audio). \r\nhttps://screencast-o-matic.com/watch/cblZFY29zJ\r\n\r\nSteps:\r\n1. Create an example apps with fullscreen window.\r\n2. Add a webview with the following URL : https://wallet.gbsinfosolutions.com/index.php/mobile-topup'\r\n3. Click on cardholder name text field in webview.\r\n4. Webview stopped scroll \r\n\r\nNote: This issue only for Android with fullscreen window.\r\n\r\nTest Code :\r\n{code}\r\nvar webview = Titanium.UI.createWebView({\r\n\turl : 'https://wallet.gbsinfosolutions.com/index.php/mobile-topup'\r\n});\r\nvar window = Titanium.UI.createWindow({\r\n\tfullscreen:true\r\n});\r\nwindow.add(webview);\r\nwindow.open({\r\n\tmodal : true\r\n});\r\n{code}\r\n{code:xml}\r\n\r\n\r\n\r\n\r\n\r\n{code}\r\n\r\n\r\n", "attachment": [ { "id": "63854", "filename": "0-sa-d2-899e7fd926716b5dc565ee9246b85508.jpg", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2017-12-25T18:23:27.000+0000", "size": 74197, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "Android : Webview with fullscreen window not working as expected", "creator": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "subtasks": [], "reporter": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "environment": "Appcelerator Command-Line Interface, version 7.0.1\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.13\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 8.9.1\r\n npm Version = 5.5.1\r\nTitanium CLI\r\n CLI Version = 5.0.14\r\nTitanium SDK\r\n SDK Version = 7.0.0.GA", "closedSprints": [ { "id": 997, "state": "closed", "name": "2018 Sprint 03 SDK", "startDate": "2018-01-28T16:23:12.178Z", "endDate": "2018-02-11T16:23:00.000Z", "completeDate": "2018-02-12T04:22:49.354Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "433904", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~gmathews] Can you take a look and comment?", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-31T22:34:28.000+0000", "updated": "2018-01-31T22:34:28.000+0000" }, { "id": "433912", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks for the detailed test case.\r\n\r\nGoogle states [here|https://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#FLAG_FULLSCREEN], using a fullscreen Window will ignore the {{SOFT_INPUT_ADJUST_RESIZE}} flag; preventing the window from resizing. Which is necessary for the WebView to resize above the keyboard and display the hidden content.\r\n\r\nUnfortunately, there is no workaround for this. You cannot use a fullscreen window if you want your WebView to resize correctly. I suggest removing the {{fullscreen}} property and theme, and adding {{Ti.UI.Android.SOFT_INPUT_ADJUST_RESIZE}} to resolve the issue.\r\n\r\n{code:js}\r\nvar webview = Titanium.UI.createWebView({\r\n\t\turl : 'https://wallet.gbsinfosolutions.com/index.php/mobile-topup'\r\n\t}),\r\n\twindow = Titanium.UI.createWindow({\r\n\t\twindowSoftInputMode: Ti.UI.Android.SOFT_INPUT_ADJUST_RESIZE\r\n\t});\r\n\r\nwindow.add(webview);\r\nwindow.open();\r\n{code}", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-31T23:29:50.000+0000", "updated": "2018-01-31T23:29:50.000+0000" }, { "id": "439931", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid. If incorrect, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:37:04.000+0000", "updated": "2018-08-06T17:37:04.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }