Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ShadowContainer] Inner Shadows not properly fitted in Rectangle and Ellipse #740

Closed
eriklimakc opened this issue Aug 21, 2023 · 2 comments · Fixed by #757, #786 or #787
Closed

[ShadowContainer] Inner Shadows not properly fitted in Rectangle and Ellipse #740

eriklimakc opened this issue Aug 21, 2023 · 2 comments · Fixed by #757, #786 or #787
Assignees
Labels
kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification.

Comments

@eriklimakc
Copy link
Contributor

Current behavior

Inner Shadows not properly fitted in Rectangle and Ellipse:

image

Expected behavior

The shadows to be properly fitted inside the the element as it happens with Grid and Border:

image

How to reproduce it (as minimally and precisely as possible)

Grab the repro below and launch.

Repro -> RectangleEllipseInnerShadow.zip

@eriklimakc eriklimakc added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification. labels Aug 21, 2023
@agneszitte
Copy link
Contributor

agneszitte commented Aug 21, 2023

The workaround at the moment is to use a Border or Grid inside the ShadowContainer (+ with CornerRadius if it is to replicate Ellipse) instead of using a Rectangle or Ellipse.

@agneszitte
Copy link
Contributor

Re-Open for backports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment