Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animations under chrome (on mac) do not work on properties not defined ahead of time #54

Open
dts opened this issue Oct 14, 2014 · 2 comments

Comments

@dts
Copy link

dts commented Oct 14, 2014

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.

@wilzbach
Copy link

wilzbach commented Nov 4, 2014

+1 for adding this to the documentation

@dwabyick
Copy link

+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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants