Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabled input button should not fire onClick in IE11 #6304

Closed
nippur72 opened this issue Mar 20, 2016 · 3 comments
Closed

Disabled input button should not fire onClick in IE11 #6304

nippur72 opened this issue Mar 20, 2016 · 3 comments

Comments

@nippur72
Copy link

the following button should not fire onclick, but it does so in IE11:

<input type="button" disabled onClick={handleClick} value="..."></input>

Chrome and Mozilla are ok; using the normal DOM without React is ok too.

See the plunker example that reproduces the issue (open it with IE).

@gaearon gaearon changed the title disabled input button fires onclick in IE11 Disabled input button should not fire onClick in IE11 Mar 20, 2016
@gaearon
Copy link
Collaborator

gaearon commented Mar 20, 2016

I can reproduce this on IE11.
Have you looked into why this might be happening?

@waldreiter
Copy link
Contributor

There is already issue #1790 and PR #6215.

@gaearon
Copy link
Collaborator

gaearon commented Mar 20, 2016

Oh, indeed. Then I’m closing this as a duplicate.

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

No branches or pull requests

4 participants