Skip to content

Commit 3df1fe6

Browse files
authored
Fixed _isDisabledButtonLeft
previously _isDisabledButtonLeft was checking whether the right button was disabled, not the left one, so when the right button was set as disabled, both would be.
1 parent a6346e4 commit 3df1fe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ class InputSpinner extends Component {
268268
* @private
269269
*/
270270
_isDisabledButtonLeft(){
271-
return (this.props.disabled || this.props.buttonRightDisabled);
271+
return (this.props.disabled || this.props.buttonLeftDisabled);
272272
}
273273

274274
/**

0 commit comments

Comments
 (0)