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
Shadows not working with Mask type. #267
Comments
@Abdul-Moiz I introduced this bug when I fixed another bug #180 , I am looking at how can we fix it. |
@Abdul-Moiz I have tried to fix this issue, please have a look at the commit 3c5bc85 But the effect is not right, it is not easy to fix it. If you have time, can you have a look and let me know if you find anything? Thanks If you want to apply a shadow to a Circle, there is a workaround, you can set |
@JakeLin I tried to look into the issue. Somehow the shadow is clipping within the view bounds. For time being going with the workaround 2. |
@Abdul-Moiz thanks for looking at it. As you said, I think we need to have two layers. And apply the mask to |
@JakeLin This is the code that made the shadow render correctly on the view with masking. I didn't tested all the cases but working fine for AnimatableView, Button and image.
|
@Abdul-Moiz thanks, looks very good. The solution should be fine. I am busy on preparing a presentation for Dev World will have a deep look later. |
@Abdul-Moiz Sorry for the late action, I have submitted a PR #295 to address this issue, please have a look when you have time. Thanks for fixing this issue. |
I am trying to apply shadow on Mask type Circle seems like it's not working. Removing mask working properly.
The text was updated successfully, but these errors were encountered: