move.js
move.js copied to clipboard
Animations under chrome (on mac) do not work on properties not defined ahead of time
I am running the latest version of chrome for mac (37.0.2062.124). When you animate properties that have not already been set on the node, no animation occurs, and it jumps to where it belongs. Here's a JSFiddle that demonstrates the problem:
http://jsfiddle.net/hillboy/u2j8291t/1/
Obviously, this is easy to work around, set the start-values you want either in the CSS file or programmatically (as I have done). However, I didn't see any documentation about this, so I figured I'd make a note of it here.
This problem does not exist under Safari.
+1 for adding this to the documentation
+1. I'm having similar issues with chrome ... If I want to animate opacity, I have to do the following:
move(targetPreviewContent).duration(0).set('opacity',0) .then().set('opacity',1).duration(transition.duration).pop() .end(callback);