Skip to content

[Android] Applying Shadow property affects the properties in Visual Transform Matrix #32731

@HarishKumarSF4517

Description

@HarishKumarSF4517

Description

When applying a Shadow property to a visual element, all properties within the Visual Transform matrix are unexpectedly impacted in dynamic scenarios.
This causes transforms to behave inconsistently once the shadow enabled.

The following transformation properties affected when Shadow is applied:

  • Scale
  • ScaleX
  • ScaleY
  • Rotation
  • RotationX
  • RotationY
  • TranslationX
  • TranslationY
  • AnchorX
  • AnchorY

Output snap

ScaleX TranslationX
Image Image
Rotation TranslationX
Image
Screen.Recording.2025-11-19.at.3.47.07.PM.mov

Steps to Reproduce

  1. Run the given sample in iOS and macOS platform - Sample.zip
  2. Create a visual element using Border control.
  3. Apply the above mentioned properties one by one with shadow.
  4. Set the property value directly to the control, you can see the shadow was not applying properly.
  5. Also bind the property with view modal and check the scenario, after using binding to the property the position of border was not set back to its original place

Link to public reproduction project repository

No response

Version with bug

10.0.10

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

No response

Affected platforms

Android

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/androids/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions