Clicking the button when it’s disabled triggers the onClick event. Desired functionality: a disabled button doesn’t allow firing of the click event.