{ "id": "175513", "key": "TIMOB-28115", "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": "2020-09-08T22:26:57.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "animate", "shadow" ], "versions": [], "issuelinks": [ { "id": "58706", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "175489", "key": "TIMOB-28103", "fields": { "summary": "iOS: View shadow not working anymore if combined with border radius (9.1.0 regression)", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-09-10T22:52:39.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": "In recent support of borderRadius with multiple values (TIMOB-27305), animation on view that has a shadow and borderRadius with multiple values, does not work.\r\nDetail discussion can be found [here|https://github.com/appcelerator/titanium_mobile/pull/12005].\r\n\r\nTest Case - \r\n\r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'#fff'\r\n});\r\nvar box = Ti.UI.createView({\r\n backgroundColor : 'red',\r\n height : '100',\r\n width : '100',\r\n borderRadius: \"40, 20, 10, 10\", //\"20\", //\r\n viewShadowColor: '#d000',\r\n viewShadowRadius:20,\r\n viewShadowOffset:{x: 10, y: 20},\r\n});\r\nwin.add(box);\r\n\r\nbox.addEventListener('click', function() {\r\n var matrix = Ti.UI.createMatrix2D();\r\n matrix = matrix.rotate(180);\r\n matrix = matrix.scale(2, 2);\r\n var a = Ti.UI.createAnimation({\r\n transform : matrix,\r\n duration : 2000,\r\n autoreverse : true,\r\n repeat : 3\r\n });\r\n box.animate(a);\r\n});\r\n\r\nwin.add(box);\r\nwin.open();\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "iOS: Animation on a view, that has a shadow and borderRadius with multiple values, does not work", "creator": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }