-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
Not Displaying in IE 11 - Even the demo page #212
Comments
Hello @itssampath, The simple-keyboard demos are coded in ES6+, thus not supported in Internet Explorer. For example:
Will not run in IE due to the arrow functions. In a previous demo I had the following message shown: I will look into adding it back just as a heads up to users. Regards, |
I completely support the decision of the author @hodgef to not support IE11. The issue here described is because IE11 does not support certain operations with multiple arguments in classList see here In order to fix this a classList polyfill is required. I suggest this one which has the latest version of https://github.com/eligrey/classList.js. Be aware that most documentation will tell you to run I leave this comment in case anyone has to make it work in IE11 |
Thanks for sharing this fix @nicoabie ! Much appreciated |
Update: simple-keyboard v3+ now supports IE11 😄 Compatibility list: https://github.com/hodgef/simple-keyboard#-compatibility
Regards, |
Simple-keyboard version
We tried to use Simple keyboard in Angular 8. Working fine in FireFox.
Describe the bug
Not Displayed in IE 11. I could see script error.
Root cause is - In index.js
(l = b.classList).add.apply(l, _toConsumableArray(t.getButtonThemeClasses(e)))
throws "Argument not optional"
Screenshots
Try opening demo page in IE 11. No Keyboard is displayed.
The text was updated successfully, but these errors were encountered: