Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-28103

iOS: View shadow not working anymore if combined with border radius (9.1.0 regression)

    Details

    • Sprint:
      2020 Sprint 18

      Description

      When using both a border radius and view shadow, the view shadow is not honored anymore. See this example:

      var win = Ti.UI.createWindow({
      	backgroundColor: '#fff'
      });
       
      var roundedShadowView = Ti.UI.createView({
      	backgroundColor: 'red',
      	width: 100,
      	height: 100,
      	borderRadius: 50, // <-- comment out this line and shadow works again
      	viewShadowColor: '#000',
      	viewShadowRadius: 10,
      	viewShadowOffset: { x: 0, y: 5 }
      });
       
      win.add(roundedShadowView);
      win.open();
      

      See attachments for details.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vijaysingh Vijay Singh
                Reporter:
                hknoechel Hans Knöchel
                Reviewer:
                Christopher Williams
                Tester:
                Satyam Sekhri
              • Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration