{ "id": "138261", "key": "TIMOB-17880", "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": "2014-10-18T12:04:05.000+0000", "priority": null, "labels": [ "ios" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:21.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": "Hello,\r\n\r\nI've found a bug on the flip animation that seem to occur since the release of 3.4. If you flip between two views, only the very first flip animation works as it should. On every follow up flip animation, the target view (the view the animation flips to) is not visible, or at least its content ist not visible, until the flip animation has been completed. This bug appears on the Simulator as well as on the device for all iOS versions of 7 and above, which I have tested.\r\n\r\nTo reproduce the error simply use the follow code snippet:\r\n\r\n{code:title=app.js|borderStyle=solid}\r\nvar win = Ti.UI.createWindow({ \r\n\tbackgroundColor: '#fff',\r\n});\r\n\r\nvar flipView = Ti.UI.createView({\r\n\tbackgroundColor: '#fff',\r\n});\r\n\r\nvar view1 = Ti.UI.createView({\r\n\tbackgroundColor: 'red',\r\n});\r\n\r\nvar button1 = Ti.UI.createButton({\r\n\ttitle: 'Flip to view2',\r\n});\r\n\r\nview1.add(button1);\r\n\r\nvar view2 = Ti.UI.createView({\r\n\tbackgroundColor: 'yellow',\r\n});\r\n\r\nvar button2 = Ti.UI.createButton({\r\n\ttitle: 'Flip to view1',\r\n});\r\n\r\nview2.add(button2);\r\n\r\nbutton1.addEventListener('singletap', function() {\r\n\tflipView.animate({\r\n\t\tview: view2,\r\n\t\ttransition: Ti.UI.iPhone.AnimationStyle.FLIP_FROM_RIGHT,\r\n\t});\r\n});\r\n\r\nbutton2.addEventListener('singletap', function() {\r\n\tflipView.animate({\r\n\t\tview: view1,\r\n\t\ttransition: Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT,\r\n\t});\r\n});\r\n\r\nflipView.add([view2, view1]);\r\n\r\nwin.add(flipView);\r\n\r\nwin.open();\r\n{code}\r\n\r\n\r\nBest regards,\r\n\r\nTom", "attachment": [], "flagged": false, "summary": "Flip Animation - Content of Target View remains invisible while animating", "creator": { "name": "tgiessel", "key": "tgiessel", "displayName": "Tom Giessel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "tgiessel", "key": "tgiessel", "displayName": "Tom Giessel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [], "maxResults": 1, "total": 1, "startAt": 0 } } }