{ "id": "162359", "key": "TIMOB-23718", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-06-26T23:04:16.000+0000", "created": "2016-08-03T14:47:39.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "MobileWeb", "scrollView" ], "versions": [ { "id": "17972", "name": "Release 5.3.1", "archived": false, "released": true, "releaseDate": "2017-02-06" } ], "issuelinks": [], "assignee": null, "updated": "2018-04-04T23:20:39.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "h6.description\r\nIn Mobile Web, the ScrollView does not resize properly when taking the device from portrait to landscape.\r\n\r\nh6.Steps:\r\n\r\n1. Open Project\r\n\r\n2. Run using Mobile Web Preview in Browser\r\n\r\n3. With iOS Simulator, view the build in Safari \r\n\r\n4. In the UI, just a view will show in Portrait.\r\n\r\n5. Rotate the iOS Simulator Right.\r\n\r\n6. Problem appears, view is not re-positioned or centered.\r\n\r\nh6. Test case\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white',\r\n\ttitle : 'ScrollView Demo'\r\n});\r\n\r\nvar scrollView = Ti.UI.createScrollView({\r\n\tshowVerticalScrollIndicator : true,\r\n\tshowHorizontalScrollIndicator : true,\r\n\theight : '80%',\r\n\twidth : '80%'\r\n});\r\nvar view = Ti.UI.createView({\r\n\tbackgroundColor : '#336699',\r\n\tborderRadius : 10,\r\n\ttop : 10,\r\n\theight : 500,\r\n\twidth : Ti.UI.FILL\r\n});\r\n\r\nvar view2 = Ti.UI.createView({\r\n\twidth : 100,\r\n\theight : 100,\r\n\tbackgroundColor : 'red'\r\n});\r\n\r\nview.add(view2);\r\n\r\nscrollView.add(view);\r\nwin.add(scrollView);\r\nwin.open();\r\n\r\n{code}\r\n\r\nThanks", "attachment": [], "flagged": false, "summary": "Mobile Web: ScrollView does not resize on Portrait to Landscape.", "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": "iOS simulator and Android emulator mobile web browser.", "comment": { "comments": [ { "id": "422903", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Marking ticket as \"Won't Fix\" as MobileWeb has been deprecated.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-26T23:04:16.000+0000", "updated": "2017-06-26T23:04:16.000+0000" }, { "id": "436457", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as will not fix.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-04-04T23:20:39.000+0000", "updated": "2018-04-04T23:20:39.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }