-
Notifications
You must be signed in to change notification settings - Fork 329
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
Trigering change event fails on Internet Explorer #314
Comments
This solved it for me: if ( !disabled ) {
var evt = document.createEvent("HTMLEvents");
evt.initEvent("change", this.data.settings.bubble, true);
this.data.select.dispatchEvent(evt);
} |
Hey @Korri, I wasn't able to reproduce this error. Here's a small screen recording. I'm going to close this but feel free to raise the issue again if you're still having the problem. |
I know this is old stuff but I just have the same issue, but in IE 10. Screenshot. @Korri's tweak solves it. |
Can you post what your dropkick constructor looks like? |
Sorry for the late reply. Looks like #353 will clean this up. |
Looks like
dispatchEvent
does not work on Internet Explorer (on the 11 version at least), so the linethis.data.select.dispatchEvent( new CustomEvent("change", {bubbles: this.data.settings.bubble}));
fails with an errorSCRIPT445
error.Edit: Removed out of place example.
The text was updated successfully, but these errors were encountered: