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

Fixes zdepth on change of "disabled" prop in FAB #390

Merged
merged 1 commit into from
Mar 10, 2015

Conversation

thechriswalker
Copy link
Contributor

Previously if the component was mounted with disabled === true
then zDepth is zero. If the component is updated to disabled === false
the zDepth remained zero. No FloatingActionButton.

To resolve this we reset the zDepth status on prop change, as well as on
componentWillMount.

Previously if the component was mounted with `disabled === true`
then zDepth is zero. If the component is updated to `disabled === false`
the zDepth remained zero. No **Floating**ActionButton.

To resolve this we reset the zDepth status on prop change, as well as on
componentWillMount.
hai-cea pushed a commit that referenced this pull request Mar 10, 2015
…-change

Fixes zdepth on change of "disabled" prop in FAB
@hai-cea hai-cea merged commit 63eec19 into mui:master Mar 10, 2015
@hai-cea
Copy link
Member

hai-cea commented Mar 10, 2015

Thanks @thechriswalker !

brianfeister pushed a commit to brianfeister/material-ui that referenced this pull request May 1, 2017
@zannager zannager added the component: Fab The React component. label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Fab The React component.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants