Skip to content

Fix raised-button state#731

Merged
hai-cea merged 1 commit intomui:masterfrom
pomerantsev:fix/raised-button-styles
Jun 2, 2015
Merged

Fix raised-button state#731
hai-cea merged 1 commit intomui:masterfrom
pomerantsev:fix/raised-button-styles

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 added 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 scope: button Changes related to the button. label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: button Changes related to the button.

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