-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
Transitions #15
Comments
+1 |
1 similar comment
+1 |
+1 |
1 similar comment
👍 |
Are these examples useful to you? |
@frenzzy - it does help. thanks. any possible way to include them in the README or in some form of documentation. |
I'm trying to make something similar work using |
@sinnwell can you provide a fiddle? if you tried that solution from the comment it should have worked... i assume that the problem is somewhere else... |
This is working. With ReactTransitionGroup. But using The callback methods of the Animation component won't be called any longer. |
Do not use any higher order components with ReactTransitionGroup, for example you can manually apply styles for your animation component: import React from 'react';
import s from './your.css';
class Animation extends React.Component {
static contextTypes = {
insertCss: PropTypes.func,
};
componentWillMount() {
this.removeCss = this.context.insertCss.apply(undefined, s);
}
componentWillUnmount() {
setTimeout(this.removeCss, 0);
}
// ...
} Or you can read discussion here: reduxjs/react-redux#303 |
Provide a mechanism to do smooth animated transitions to a different route.
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29560423-transitions?utm_campaign=plugin&utm_content=tracker%2F18115217&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F18115217&utm_medium=issues&utm_source=github).Consider also the same route with different parameters. Ex:
/user/123
to/user/124
.Ideally it can work with
ReactCSSTransitionGroup
The text was updated successfully, but these errors were encountered: