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

CSSTransitionGroup behaves oddly when using `window.getComputedStyle(node).getPropertyValue(...)` in child component #3219

Closed
lencioni opened this issue Feb 21, 2015 · 2 comments

Comments

@lencioni
Copy link
Contributor

@lencioni lencioni commented Feb 21, 2015

@janpaul123 and I ran into a bug that is similar to #2104, but it happens when calling window.getComputedStyle(node).getPropertyValue(...) in a child component nested within the CSSTransitionGroup.

react-animation-bug

We set up this fiddle that reproduces the issue: http://jsfiddle.net/k3xy91yh/4/

We can reproduce in Firefox 35.0.1 and Chrome 40.0.2214.115 (64-bit).

@lencioni
Copy link
Contributor Author

@lencioni lencioni commented Feb 21, 2015

The workaround mentioned in #2104 of moving the transition style to the active class seems to work for us, too.

@sophiebits
Copy link
Collaborator

@sophiebits sophiebits commented Apr 1, 2015

Merging into #2104.

@sophiebits sophiebits closed this Apr 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.