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

Fix raised-button state #731

Merged
merged 1 commit into from
Jun 2, 2015
Merged

Conversation

pomerantsev
Copy link
Contributor

Fixes #702

Raised-button was made unnecessarily more stateful by introducing
this.style. This way, the styles were calculated at the wrong moment
(in componentWillReceiveProps instead of render).

Fixes mui#702

Raised-button was made unnecessarily more stateful by introducing
this.style. This way, the styles were calculated at the wrong moment
(in componentWillReceiveProps instead of render).
@soda29
Copy link

soda29 commented Jun 1, 2015

Great to see this fixed!

hai-cea pushed a commit that referenced this pull request Jun 2, 2015
@hai-cea hai-cea merged commit 8ff5215 into mui:master Jun 2, 2015
@hai-cea
Copy link
Member

hai-cea commented Jun 2, 2015

Thanks @pomerantsev !

@pomerantsev pomerantsev deleted the fix/raised-button-styles branch June 2, 2015 19:51
mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Nov 10, 2020
@zannager zannager added the component: button This is the name of the generic UI component, not the React module! label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: button This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Toggling the disabled prop on RaisedButton triggers incorrect transitions
4 participants