{ "id": "175348", "key": "AC-6576", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": null, "resolutiondate": null, "created": "2020-07-21T08:47:26.000+0000", "labels": [ "borderradius", "ios", "iphone", "view" ], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-07-23T08:25:35.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": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." }, { "id": "14552", "name": "Appcelerator CLI", "description": "Please enter tickets related to Tooling and the CLI here" } ], "description": "I have a square angles view inside a borderRadius view.\r\nSince the child view go \"out of borders\" I set clipMode to enabled.\r\nThis solve the angles but disable the shadow.\r\n\r\n{code:java}\r\n//Alloy:\r\n\r\n\r\n\r\n\r\n\r\n\r\n//Tss\r\n\".schedaSTD[platform=ios]\":{\r\n\tleft:'15',\r\n\tbackgroundColor:\"#FFF\",\r\n\tborderRadius:'10',\r\n\theight:'80%',\r\n\twidth:'250',\r\n\tviewShadowColor: '#c7c7c8',\r\n\tviewShadowOffset: {x:'0',y:'2'},\r\n\tviewShadowRadius: '3',\r\n clipMode: Titanium.UI.iOS.CLIP_MODE_ENABLED\r\n}\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "iOS set clipMode disable shadow", "creator": { "name": "Pietro", "key": "pietro", "displayName": "Pietro Granati", "active": true, "timeZone": "Europe/Rome" }, "subtasks": [], "reporter": { "name": "Pietro", "key": "pietro", "displayName": "Pietro Granati", "active": true, "timeZone": "Europe/Rome" }, "environment": "Mac OS", "comment": { "comments": [ { "id": "456203", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Setting 'clipMode' to Titanium.UI.iOS.CLIP_MODE_ENABLED should clip the shadow as well. It should be expected behavior.\r\n\r\nWas it working in any previous SDK?\r\nIf so, please provide reproducible test case (classic). We'll look in this. ", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-07-23T01:01:41.000+0000", "updated": "2020-07-23T01:03:47.000+0000" }, { "id": "456205", "author": { "name": "Pietro", "key": "pietro", "displayName": "Pietro Granati", "active": true, "timeZone": "Europe/Rome" }, "body": "Why it should? So I can't create a container view with border radius and shadow with inside view?", "updateAuthor": { "name": "Pietro", "key": "pietro", "displayName": "Pietro Granati", "active": true, "timeZone": "Europe/Rome" }, "created": "2020-07-23T08:25:35.000+0000", "updated": "2020-07-23T08:25:35.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }