Works fine in Chrome/Firefox, Safari the transition slows the animation and Internet Explorer 11 doesn't animate the element at all.
IE11 does animate fine when the transition is removed and also when the element is wrapped in another element and that is animated instead, see this Codepen: https://codepen.io/jonjhiggins/pen/QMvWXp
Should I not apply animations to elements with transitions or is this a bug?
Internet Explorer version is 11.0.9600 on VirtualBox from modern.ie
Hi!
Just starting out with the Web Animations API.
I've got an element that has
transition: transform 350ms;
set in it's CSS. When trying to animate using the following JS:animateEl.animate({ transform: ["none", "translateX(100px)"] }, 1000);
Works fine in Chrome/Firefox, Safari the transition slows the animation and Internet Explorer 11 doesn't animate the element at all.
IE11 does animate fine when the transition is removed and also when the element is wrapped in another element and that is animated instead, see this Codepen: https://codepen.io/jonjhiggins/pen/QMvWXp
Should I not apply animations to elements with transitions or is this a bug?
Internet Explorer version is 11.0.9600 on VirtualBox from modern.ie
Thanks in advance