React-datepicker: DatePicker does not work in IE 11

Created on 16 Oct 2017  路  3Comments  路  Source: Hacker0x01/react-datepicker

I have tried to open up your demo ( https://hacker0x01.github.io/react-datepicker/ ) using my IE 11 browser but it doesn't work and crashes.
datepicker_ieversion

In the dev tools, I see all sorts of errors relating to "bundle.js" as you can see below:

datepicker_bundleerror

wontfix

Most helpful comment

Even better, if this is the only thing preventing the picker from working in IE, we should remove the use of .find -- it can be trivially implemented with .filter.

All 3 comments

You need to polyfill the find method as this is an ES6 one.
Well actually maintainer should add the polyfill to the demo page :)

Even better, if this is the only thing preventing the picker from working in IE, we should remove the use of .find -- it can be trivially implemented with .filter.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings