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

Modal is not working in IE #40

Closed
sugarsaixan opened this issue Jan 20, 2017 · 6 comments
Closed

Modal is not working in IE #40

sugarsaixan opened this issue Jan 20, 2017 · 6 comments

Comments

@sugarsaixan
Copy link

Modal not working in IE. Error is "Object doesn't support property or method 'find'"

@circlingthesun
Copy link
Owner

Have you tried including a shim such as https://github.com/paulmillr/es6-shim?

@sugarsaixan
Copy link
Author

I am using babel {"presets": ["es2015"]}. Should i change babel to es6-shim ?

@circlingthesun
Copy link
Owner

Babel only transforms your code, it doesn't polyfill missing API's. You still need the 'find' function on array objects that is missing in IE. Including es6 shim or core-js will give you this.

@sugarsaixan
Copy link
Author

It works. Thank you for your support. @circlingthesun

@circlingthesun
Copy link
Owner

No problem :)

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