-
Notifications
You must be signed in to change notification settings - Fork 58
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 use does not repaint in firefox upon second update #101
Comments
I opened my debugger and tracked it down, it seems to be caused by setting namespaced attributes without it's namespace, but rather by it's local name (it works in chrome because SVG's recent version of https://github.com/choojs/nanomorph/blob/master/lib/morph.js#L50-L51 |
Very interesting the DOM spec of
|
I have just raised the same issue for morphdom patrick-steele-idem/morphdom#124 |
I just started using
nanomorph
and I have a simple test by changing the icon of an SVG icon sprite every second. Works perfectly in latest chrome but not in Firefox - see screencasts below:[Edit]: I just realised that the
xlink:href
attribute isn't updated.I use it to build Custom-elements with incremental rendering:
axa-ch-webhub-cloud/pattern-library#411
Latest Chrome:
Latest Firefox:
The text was updated successfully, but these errors were encountered: