-
Notifications
You must be signed in to change notification settings - Fork 273
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
Firefox doesn't render masks defined inside of symbol
#325
Firefox doesn't render masks defined inside of symbol
#325
Comments
Fixed in svg-sprite-loader@4.2.0 |
I'm still facing this issue |
@dvenediktova could you please create repo with minimal setup to demonstrate a problem (package.json, webpack config, SVG image and piece of your code). If you don't want to create a repository - you can create a gist with multiple files. |
@kisenka here is a link to the repo. |
@dvenediktova I'am getting following error: |
@kisenka check again, I fixed an error |
@kisenka did you check? |
@dvenediktova fixed in |
Firefox has some problems with rendering masks properly. If mask is defined within a symbol it just doesn't work at all in FF, but if you place your mask in defs at the root of the SVG it works like expected
Curren behavior: SVG mask doesn't work if defined inside of
symbol
Expected behaivor: SVG mask renders as expected
Desired solution: option to be able to move masks to
defs
at the root of the SVG spriteHow to reproduce:
This one works fine:
This one fail to render mask:
You can use it as normal:
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: