{ "id": "165749", "key": "TIMOB-24370", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2017-02-06T09:12:48.000+0000", "created": "2017-02-03T06:17:28.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "issuelinks": [ { "id": "54189", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "165011", "key": "TIMOB-24222", "fields": { "summary": "Universal Windows App (UWP): ScrollView doesn't scroll vertically when the content is larger then height", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-02-06T18:48:26.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "Related to cases TIMOB-24222, only TIMOB-24222 fixed the vertical one. This case is created for horizontal.", "attachment": [ { "id": "61444", "filename": "index.js", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2017-02-04T04:25:01.000+0000", "size": 66, "mimeType": "text/javascript" }, { "id": "61443", "filename": "index.tss", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2017-02-04T04:25:14.000+0000", "size": 395, "mimeType": "application/octet-stream" }, { "id": "61442", "filename": "index.xml", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2017-02-04T04:25:20.000+0000", "size": 4652, "mimeType": "text/xml" } ], "flagged": false, "summary": "Universal Windows App (UWP): ScrollView doesn't scroll horizontally when the content is larger", "creator": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "subtasks": [], "reporter": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "environment": null, "closedSprints": [ { "id": 808, "state": "closed", "name": "2017 Sprint 03 SDK", "startDate": "2017-01-28T21:12:30.215Z", "endDate": "2017-02-12T21:12:00.000Z", "completeDate": "2017-02-12T23:37:14.667Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "406253", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~sliang] Can you add a sample code that reproduces the issue? I tried following code but I was able to scroll horizontally in this case.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'green'\r\n});\r\n\r\nfunction createRow(i) {\r\n var row = Ti.UI.createView({\r\n backgroundColor: 'white',\r\n borderColor: '#bbb',\r\n borderWidth: 1,\r\n width: 200, height: 100\r\n });\r\n var inputTextField = Ti.UI.createTextField({\r\n hintText: 'Enter value ' + i,\r\n top: 10, left: '10%',\r\n width: '80%', height: 60\r\n });\r\n row.add(inputTextField);\r\n return row;\r\n}\r\n\r\nvar scrollView = Ti.UI.createScrollView({\r\n layout: 'horizontal',\r\n width: Ti.UI.FILL,\r\n height: Ti.UI.FILL,\r\n contentHeight: 'auto',\r\n contentWidth: 'auto',\r\n});\r\n\r\nfor (var i = 0; i <= 10; i++) {\r\n var row = createRow(i);\r\n scrollView.add(row);\r\n}\r\n\r\nwin.add(scrollView);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-02-03T08:00:47.000+0000", "updated": "2017-02-03T08:00:47.000+0000" }, { "id": "406328", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Attached simple code from customer. [~kota]", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2017-02-04T04:26:02.000+0000", "updated": "2017-02-04T04:26:02.000+0000" }, { "id": "406384", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I was not able to reproduce this with latest nightly SDK {{6.1.0.v20170202120400}}. I believe it's fixed along with TIMOB-24222.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-02-06T09:12:48.000+0000", "updated": "2017-02-06T09:12:48.000+0000" }, { "id": "406407", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested using environment: \r\nNPM Version: 2.15.9 \r\nNode Version: 4.5.0 \r\nMac OS: 10.12.1 \r\nAppc CLI: 6.1.0 \r\nAppc CLI NPM: 4.2.8 \r\nTitanium SDK version: 6.1.0.v20170202120400 \r\nAppcelerator Studio, build: 4.8.1.201612050850\r\nWindows OS: Windows 10 Build 14393.693\r\nWindows Device: 10.0.14393.693 and 8.1\r\n\r\nI first tested the demo code on device with SDK 6.0.1, and found that the labels were not displayed properly. Labels were vertically wrapped and therefore horizontal scrolling was not necessary. It appears that the fix that went into TIMOB-24222 fixed the issue with this ticket aswell. Using SDK 6.1.0.v20170202120400, I found that the horizontal layout was being displayed correctly, and that scrolling horizontally worked as expected. ", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-02-06T18:48:07.000+0000", "updated": "2017-02-06T18:48:07.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }