-
Notifications
You must be signed in to change notification settings - Fork 1k
Translate directive not working in SVG on Safari #717
Comments
Yes, looks like a Safari problem. I can confirm I see the exception, but I'm unable to debug this right now. The developer tools are broken for me, do not know if this is only by me or a general issue on Safari atm. |
The problem lies here:
|
Here is some information on that: In case of a missing implementation in the browser, we can copy the dom(part), create a fake node around the target element and then take the innerHTML of that as the "outerHTML"... |
Yep, got that issue too. Using the translate filter works though. |
This is still broken in IE. Reason is the same: angular-translate/src/directive/translate.js Line 118 in 92bc955
|
We're seeing that using data-translate directive does not work in Chrome either, despite the applied fix. |
From the linked SO post adding this polyfill
seems to fix this. |
Hi!
I have the following problem: It seems that the translate directive is not working in Safari inside an SVG text element. In Chrome it works as expected. The filter works in Safari, too.
Demo: http://plnkr.co/edit/Hxz0XNTvmqI8Wz3MWqEB?p=preview
The text was updated successfully, but these errors were encountered: