react-lite
react-lite copied to clipboard
onClick handler triggered for disabled button
As you can see here, onClick handler is not triggered when a disabled button is clicked (which is correct). However, it is triggered when clicking a <span> inside a disabled button.
Is this a valid behavior? I'm only encountering this issue with react-lite, works fine with react.