-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
dispatchEvent submit does not work in ie11 #1431
Comments
I'm having a deeper look now - looks like Internet Explorer 11 doesn't support creating Event's ... I'll get back to this issue once (if) I've got a neat solution. |
It looks like calling the |
Thanks for looking into the fix. Is there an ETA on when this is targeted for merge and release creation ? |
For anyone else having this issue, this is how I am resolving it-:
|
* Fix #1431 - ie11 not able to submit * Fix code formatting * Add react-app-polyfill/ie11 for playground
Prerequisites
Description
In Internet Explorer when attempting to submit the form, the following error occurs:
Steps to Reproduce
Submit a form.
Expected behavior
The form to submit.
Actual behavior
Error in ie11.
Version
Latest
I'll probably have to come up with a way of polyfilling the Event on the form but I'm wondering why dispatchEvent was chosen in the first place over calling
.submit
directly on the form element?The text was updated successfully, but these errors were encountered: