Lucifier129 / react-lite

An implementation of React v15.x that optimizes for small script size
MIT License
1.73k stars 98 forks source link

onClick handler triggered for disabled button #128

Open b3llash opened 7 years ago

b3llash commented 7 years ago

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.