Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

use transform attributes for SVG elements in IE #59

Open
souporserious opened this issue Sep 21, 2016 · 0 comments
Open

use transform attributes for SVG elements in IE #59

souporserious opened this issue Sep 21, 2016 · 0 comments

Comments

@souporserious
Copy link
Owner

souporserious commented Sep 21, 2016

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

@souporserious souporserious changed the title set transforms directly on element so they work in IE use transform attributes for SVG elements in IE Oct 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant