I'm using ScrollMagic in a site and I have a problem when I try to animate a font-size in em and not in pixels.
So, this is an example with the ems: http://jsfiddle.net/41h1nfxo/7/
And this is another one with px: http://jsfiddle.net/jtdm0o6q/2/
As you can see, the second one works well.
I don't know what causes this bug, hope you guys can help me! Thank you
HTML
<div id="thediv">
<span>Awesome</span>
SCRIPT
var controller;
$(document).ready(function($) {
controller = new ScrollMagic();
var tween = TweenMax.to("#thediv", 1, {height:100,fontSize:"100px"});
var scene = new ScrollScene({triggerElement: "#thediv", duration: 200})
.setTween(tween)
.addTo(controller);
scene.addIndicators({zindex:100});
});