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

use ReactCSSTransitionGroup for global messages #595

Merged
merged 2 commits into from
Sep 12, 2016

Conversation

robbiewxyz
Copy link
Contributor

@robbiewxyz robbiewxyz commented Sep 6, 2016

global_message.jsx's code for componentWillEnter and componentWillLeave looked like quite a mess with the .style.this and .style.that. This change lets the CSS do what it's good at and keeps the JS looking a bit cleaner in that file.

It also cuts down on a dependency.

The existing code looked like quite a mess with its .style this and
.style that.  This change lets the CSS do what it's good at and keeps
the JS looking a bit cleaner in that file.

It also cuts down on a dependency.
height 0
paddingTop 0
paddingBottom 0
&.global-message-enter.example-enter-active
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is .example-enter-active for?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

D'oh. That's from my testing; I forgot to replace it out. It's fixed now.

@hzalaz hzalaz merged commit 7d2812f into auth0:master Sep 12, 2016
@robbiewxyz robbiewxyz deleted the move-to-css-transition-group branch September 12, 2016 17:31
@robbiewxyz
Copy link
Contributor Author

Hey, just curious: what is your release cycle like? When will a pull like this shows up in the NPM?

@hzalaz hzalaz modified the milestone: v10.3.0 Sep 19, 2016
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

Successfully merging this pull request may close these issues.

None yet

3 participants