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

IE11: Exceptions thrown due to missing CustomEvent #26

Open
forum-is opened this issue Apr 25, 2017 · 2 comments
Open

IE11: Exceptions thrown due to missing CustomEvent #26

forum-is opened this issue Apr 25, 2017 · 2 comments

Comments

@forum-is
Copy link

CustomEvent is not available in IE11 which causes the Shortcuts component to malfunction by throwing an unhandled exception on each keypress, leading to a massive slowdown when typing (as well as the shortcuts not working, of course). 😉

We were able to remedy the problem by supplying the polyfill for IE described here:
https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent

There is also an npm package that should fix this issue easily (untested):
https://github.com/krambuhl/custom-event-polyfill

Could you include the polyfill for the next release? Thanks!

@petrbrzek
Copy link
Member

@forum-is Thanks for pointing out this issue. I'm thinking if we should include the polyfill directly in or just highlight the problem in the README.

@forum-is
Copy link
Author

We'd very much prefer including the polyfill as it is tiny and avoids the nasty exceptions in IE11.

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

No branches or pull requests

2 participants