Answer the question
In order to leave comments, you need to log in
Why doesn't the wrapper event fire when Button is disabled?
The code
<div onMouseMove={() => {console.log('Hello')}} className={'wrap-button'}>
<button
{...buttonProps}
style={this.stylesElem}
>
{this.props.children}
</button>
</div>
Answer the question
In order to leave comments, you need to log in
.disabled {
opacity: 0.8;
pointer-events: none;
user-select: none;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question