-
Notifications
You must be signed in to change notification settings - Fork 157
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
Svg mask on safari fails when base href is defined #86
Comments
We faced the same problem in our project. We ended up in creating a angular directive that decorates the The svg element are updated in the ngAfterViewInit phase and listen for router see here: https://gist.github.com/pavax/117ef58db65f8fe1a43a2c5b536abcd7 Example: since that pattern is causing problems on IE11 and Edge the fix is only applied to safari |
See https://github.com/FortAwesome/Font-Awesome-Pro/issues/1422#issuecomment-520084263. It is a Safari bug. I've asked |
This was finally fixed in Safari 13.1. |
I'm going to close it as it is working correctly in both Safari 13.1 and Safari 14. And it doesn't seem to be worths the effort fixing it in the older versions. You may consider using a workaround described in #86 (comment) if you need to support older versions. |
Hi,
Mask rely on svg url based reference which seems to cause issues with the tag.
I found some information that describe the problem here angular/angular.js#8934 and here airbnb/lottie-web#360
I tried to find a workaround using APP_BASE_HREF and some generation features of angular cli but didn't managed to get anything working for both my prod and dev env. I guess that the solution may lie more on the angular CLI side so I created also an issue there angular/angular-cli#11952 on angular cli)
Have you encountered such issue ? Is there any known workaround ?
The text was updated successfully, but these errors were encountered: