Skip to content

Shadow not updated when Clipping a View with a shadow #27730

@jsuarezruiz

Description

@jsuarezruiz

Description

Shadow not updated when Clipping a View with a shadow.

Image

Example:

<Border 
  x:Name="BorderShadow"
  StrokeShape="RoundRectangle 24"
  Background="Red"
  WidthRequest="100" 
  Margin="12, 0">
  <Border.Shadow>
    <Shadow
      Brush="Black"
      Offset="12, 12"
      Radius="10"
      Opacity="1"/>
  </Border.Shadow>
</Border>

Tap a Button and Clip the View:

BorderShadow.Clip = new EllipseGeometry
{
	Center = new Point(50, 50),
	RadiusX = 25,
	RadiusY = 25
};

Steps to Reproduce

Can reproduce with the ShadowFeaturePage from the TestCases.HostApp sample.

Link to public reproduction project repository

No response

Version with bug

9.0.40 SR4

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-drawingShapes, Borders, Shadows, Graphics, BoxView, custom drawingpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/windowss/triagedIssue has been reviewedt/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions