Skip to content

Commit

Permalink
fix(Button): Disabled Button with Label leaves Label enabled (Semanti…
Browse files Browse the repository at this point in the history
  • Loading branch information
luski authored and levithomason committed Jan 24, 2017
1 parent 7b5128c commit 716976e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elements/Button/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ class Button extends Component {
})
if (labelElement) {
const classes = cx('ui', baseClasses, 'button', className)
const containerClasses = cx('ui', labeledClasses, 'button', className)
const containerClasses = cx('ui', labeledClasses, 'button', className, useKeyOnly(disabled, 'disabled'))
debug('render label:', { classes, containerClasses }, this.props)

return (
Expand Down

0 comments on commit 716976e

Please sign in to comment.