{ "id": "99508", "key": "TIMOB-11764", "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": "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-06-20T21:35:36.000+0000", "created": "2012-08-21T07:38:12.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "ios", "resize", "scrollableview" ], "versions": [ { "id": "14096", "description": "Release 2.1.2", "name": "Release 2.1.2", "archived": true, "released": true, "releaseDate": "2012-08-31" }, { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" }, { "id": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-20T21:35:36.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": "When resizing a scrollableview, you get very strange behaviours. Mostly pages are not resize correctly:\r\n- the page view is resized but not the page view children\r\n- animation as different effect depending on which page we are on (first one is the closest to be ok).\r\n\r\ntest case\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n \r\nvar view1 = Ti.UI.createView({ backgroundColor:'#123' });\r\nvar view2 = Ti.UI.createView({ backgroundColor:'#246' });\r\nvar view3 = Ti.UI.createView({ backgroundColor:'#48b' });\r\n\r\nvar inView1 = Ti.UI.createView({ backgroundColor:'black', width:\"70%\" , height:\"70%\"});\r\nview1.add(inView1);\r\nvar inView2 = Ti.UI.createView({ backgroundColor:'black', width:\"70%\", height:\"70%\" });\r\nview2.add(inView2);\r\nvar inView3 = Ti.UI.createView({ backgroundColor:'black', width:\"70%\", height:\"70%\" });\r\nview3.add(inView3);\r\n\r\nvar scrollableView = Ti.UI.createScrollableView({\r\n views:[view1,view2,view3],\r\n width:300,\r\n height:200\r\n});\r\n\r\nvar needsShrink = true;\r\n\r\nwin.add(scrollableView);\r\n\r\nvar button = Titanium.UI.createButton({\r\n title: 'resize',\r\n top: 10,\r\n width: 100,\r\n height: 50\r\n});\r\nbutton.addEventListener('click',function(e)\r\n{\r\n scrollableView.animate({\r\n height:(needsShrink?100:200),\r\n width:(needsShrink?200:300)\r\n });\r\n needsShrink = !needsShrink;\r\n});\r\nwin.add(button);\r\n\r\nwin.open();\r\n{code} ", "attachment": [], "flagged": false, "summary": "[ios] scrollableview doesnt behave correctly on width/height animation", "creator": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "environment": "titanium 2.1.2, 2.1.3, 2.1.4\r\nios 5.1\r\nios 6", "comment": { "comments": [ { "id": "244089", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces \n\nTested with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\niOS iPhone Simulator: iOS SDK version: 6.0", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-26T08:25:06.000+0000", "updated": "2013-03-26T08:25:06.000+0000" }, { "id": "422403", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am unable to reproduce this issue with the following environment;\r\niPhone 7 (10.2)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1.v20170620103414\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.1\r\nTi CLI 5.0.13\r\nAlloy 1.9.11\r\nArrow 2.0.0\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-20T21:35:36.000+0000", "updated": "2017-06-20T21:35:36.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }