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

Broken shadow after crop in safari #1747

Open
danarosca opened this issue Apr 16, 2024 · 3 comments
Open

Broken shadow after crop in safari #1747

danarosca opened this issue Apr 16, 2024 · 3 comments

Comments

@danarosca
Copy link

danarosca commented Apr 16, 2024

Screenshot 2024-04-16 at 13 09 01 Screenshot 2024-04-16 at 13 08 30 If there are some crop properties, shadow effect is unable to go outside of image size. I am using only konva library. Any ideea what can cause this issue? it work on chrome and FireFox, but not in safari :( I've attached an example from Chrome ( expected result) and one from Safari.
@danarosca
Copy link
Author

danarosca commented Apr 16, 2024

Screenshot 2024-04-16 at 19 35 31 Screenshot 2024-04-16 at 19 35 46 Also, here are image props in for both browsers. @lavrton can you help me please?

@lavrton
Copy link
Member

lavrton commented Apr 16, 2024

Can you make online demo?

@danarosca
Copy link
Author

unfortunately it's very hard for me since this is only a small part. But the idea is that after having the crop props, I make sure they are relative to original image size and than I set them as props for Image node ( basically this is the only change I made and after this change, shadow is gone). And it's strange that it works in other browsers :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants