souporserious/react-motion-ui-pack

use transform attributes for SVG elements in IE

Open

#59 geöffnet am 21. Sept. 2016

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (40 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (628 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Regular transforms do not work in IE. Let's check if the element is an SVG and add it directly. Could look into coordinating everything into a matrix.

Need to take transform-origin into account: http://stackoverflow.com/questions/6711610/how-to-set-transform-origin-in-svg

Maybe we can learn from Anime.js here: https://github.com/juliangarnier/anime/blob/master/anime.js#L352-L357

Contributor Guide