circlingthesun / angular-foundation-6

Foundation 6 directives for Angular 1.5+
http://circlingthesun.github.io/angular-foundation-6/
Other
95 stars 50 forks source link

Cannot open modal on Internet Explorer #52

Open timojuonoja opened 7 years ago

timojuonoja commented 7 years ago

In src/modal/modal.js and on StackedMap class: the code uses array find, which is not supported on Internet Explorer. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find

Therefore modal cannot be opened at all.

circlingthesun commented 7 years ago

Have a look at #40

timojuonoja commented 7 years ago

Thanks for the reply. However readme still states that IE 10 is supported browser, but that isn't true.

In my opinion, polyfill for array find must be fulfilled by the package or at least mentioned in the readme that you need it.