Closed nicholasrq closed 4 years ago
Fixed in svg-sprite-loader@4.2.0
I'm still facing this issue Firefox 74.0 svg-sprite-loader 4.2.1
@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 svg-sprite-loader@4.2.7
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: