{ "id": "165515", "key": "TIMOB-24356", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-02-14T19:21:03.000+0000", "created": "2017-01-30T20:02:10.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-02-22T21:44:49.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": "There are 3 missing animation transition options we should expose to have all possible animation transitions available in the SDK.", "attachment": [], "flagged": false, "summary": "iOS: Add missing animation transitions (top to bottom, bottom to top, cross-dissolve)", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "405627", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/8804\r\n\r\nTest-Case:\r\n{code:js}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n\r\nvar view = Titanium.UI.createView({\r\n backgroundColor: 'red'\r\n});\r\n\r\nvar view2 = Titanium.UI.createView({\r\n backgroundColor: 'blue'\r\n});\r\n\r\nvar animation = Titanium.UI.createAnimation();\r\nanimation.duration = 1000;\r\nanimation.view = view2;\r\n\r\nvar btn1 = Ti.UI.createButton({\r\n title: 'Animate 1',\r\n top: 40\r\n});\r\n\r\nbtn1.addEventListener('click', function() {\r\n animation.transition = Ti.UI.iOS.AnimationStyle.FLIP_FROM_TOP;\r\n view.animate(animation);\r\n});\r\n\r\nvar btn2 = Ti.UI.createButton({\r\n title: 'Animate 2',\r\n top: 80\r\n});\r\n\r\nbtn2.addEventListener('click', function() {\r\n animation.transition = Ti.UI.iOS.AnimationStyle.FLIP_FROM_BOTTOM;\r\n view.animate(animation);\r\n});\r\n\r\nvar btn3 = Ti.UI.createButton({\r\n title: 'Animate 3',\r\n top: 120\r\n});\r\n\r\nbtn3.addEventListener('click', function() {\r\n view2.backgroundColor = (view2.backgroundColor == 'yellow') ? 'blue' : 'yellow';\r\n animation.transition = Ti.UI.iOS.AnimationStyle.CROSS_DISSOLVE;\r\n view.animate(animation);\r\n});\r\n\r\nwin.add(view);\r\nwin.add(btn1);\r\nwin.add(btn2);\r\nwin.add(btn3);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-01-30T20:19:44.000+0000", "updated": "2017-01-30T20:19:44.000+0000" }, { "id": "407628", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Can verify this fix using the following environment;\r\niPhone 7 and Simulator (10.2)\r\nMacOS 10.11.6 (15G31)\r\nStudio 4.8.1.201612050850\r\nTi SDK 6.1.0.v20170220091247\r\nAppc NPM 4.2.8\r\nAppc CLI 6.2.0-12\r\nTi CLI 5.0.11\r\nAlloy 1.9.6\r\nArrow 1.10.2\r\nXcode 8.2 (8C38)\r\nNode v4.6.0\r\nJava 1.7.0_80", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-02-22T21:44:38.000+0000", "updated": "2017-02-22T21:44:38.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }