choojs / choojs/nanomorph

SVG use does not repaint in firefox upon second update

Open
#101 3 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
751
Forks
57
PR merge metrics
No merged PRs in 30d

Description

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:
https://github.com/axa-ch/patterns-library/pull/411

**Latest Chrome:**
![incremental-icon-chrome](https://user-images.githubusercontent.com/914443/38937105-b26e4086-4322-11e8-8fc2-c42c21931b5a.gif)

**Latest Firefox:**
![incremental-icon-firefox-stops](https://user-images.githubusercontent.com/914443/38937128-bf94f46c-4322-11e8-9887-f13b8004d0f4.gif)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.