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

Fix element with clipPath and shadow svg serialization #6653

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

phil-r
Copy link

@phil-r phil-r commented Oct 16, 2020

This fixes the issue for the example provided in #6651, but sadly it breaks other tests and I'm not sure how I should approach this.

Before:

https://codesandbox.io/s/hopeful-lake-vvm9n?file=/src/index.js

image

After:

https://codesandbox.io/s/pensive-visvesvaraya-bs738?file=/index.html

image

I would be happy if you could provide some guidance into how broken tests can be fixed, or if my approach is completely wrong, thanks.

@asturur
Copy link
Member

asturur commented Oct 17, 2020

i understand the issue, the shadow-filter should be applied on the clipped object an not vice versa.
I m just unsure how to deal with it, it was a bit complicated to have clipPath working correctly in svg export

@stale
Copy link

stale bot commented Oct 31, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issue marked as stale by the stale bot label Oct 31, 2020
@stale stale bot closed this Nov 7, 2020
@asturur asturur added svg_output and removed stale Issue marked as stale by the stale bot labels Dec 23, 2020
@asturur asturur reopened this Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants