Skip to content

onClick firing for disabled buttons in v15.4.0 #8308

Closed
@RoccoC

Description

@RoccoC

With the latest 15.4.0 ReactJS release, onClick is now firing for disabled button elements which have child HTML elements:

https://jsfiddle.net/rcataldo/69z2wepo/62589/

In the previous ReactJS version, the onClick handler would not be called.

Note that onClick is not called if I remove the <span> from the button.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions