{ "id": "171172", "key": "TIMOB-25853", "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": "2018-02-23T10:31:44.000+0000", "priority": null, "labels": [ "engSchedule", "ios", "parity" ], "versions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" }, { "id": "20060", "description": "", "name": "Release 7.0.2", "archived": false, "released": true, "releaseDate": "2018-02-09" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-04-23T15:34:36.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": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "(very difficult to describe a visual difference)\r\nSDK 6.3 -> 7.0.2 (current)\r\nRun the following code on iOS and Android, you will see that on iOS the animated view takes its final height place in the layout while on Android the place it takes fits the \"current\" height during the animation\r\n\r\n{code:javascript}\r\n\r\nvar vw = Ti.UI.createView({\r\n height: 300,\r\n width: 100,\r\n layout: \"vertical\",\r\n backgroundColor: \"red\"\r\n});\r\n\r\nvw.addEventListener('click', function () {\r\n sub.height = 1;\r\n sub.animate({\r\n height: 200,\r\n duration: 3000\r\n });\r\n});\r\n\r\nvw.add(Ti.UI.createView({\r\n height: 10,\r\n backgroundColor:\"blue\"\r\n}));\r\n\r\n\r\n\r\nvar sub = Ti.UI.createView({\r\n height: 1,\r\n backgroundColor: \"yellow\",\r\n //top: 0 // by removing the top, the animation is weirder on iOS\r\n});\r\n\r\nvw.add(sub);\r\n\r\nvw.add(Ti.UI.createView({\r\n height: 10,\r\n backgroundColor:\"green\"\r\n}));\r\n\r\n\r\n$.index.add(vw);\r\n\r\n\r\n$.index.open();\r\n\r\n{code}\r\n", "attachment": [ { "id": "64902", "filename": "anim_android.mp4", "author": { "name": "gduthieuw", "key": "gduthieuw", "displayName": "Guile", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-02-26T11:22:13.000+0000", "size": 245638, "mimeType": "video/mp4" }, { "id": "64903", "filename": "anim_ios.mp4", "author": { "name": "gduthieuw", "key": "gduthieuw", "displayName": "Guile", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-02-26T11:22:13.000+0000", "size": 138358, "mimeType": "video/mp4" } ], "flagged": false, "summary": "Layout with animation differs between Android and iOS", "creator": { "name": "gduthieuw", "key": "gduthieuw", "displayName": "Guile", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "gduthieuw", "key": "gduthieuw", "displayName": "Guile", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "434872", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello [~gduthieuw],\r\n\r\nThanks for sharing the issue. \r\nCan you describe more or can you share screenshot or video which will show the difference between ios and android platform?\r\n\r\nBest", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-02-25T08:12:09.000+0000", "updated": "2018-02-25T08:12:09.000+0000" }, { "id": "434900", "author": { "name": "gduthieuw", "key": "gduthieuw", "displayName": "Guile", "active": true, "timeZone": "Europe/Berlin" }, "body": "I've just added two videos", "updateAuthor": { "name": "gduthieuw", "key": "gduthieuw", "displayName": "Guile", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-02-26T11:22:35.000+0000", "updated": "2018-02-26T11:22:35.000+0000" }, { "id": "435435", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-09T21:54:43.000+0000", "updated": "2018-03-09T21:54:43.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }