When ReactDatepicker is imported a warning shows up:
Invalid argument supplied to oneOf, expected an instance of array Popper.js:256
The date input shows up, but when it's clicked an error is thrown:
Uncaught TypeError: _popper2.default is not a constructor
at Popper._createPopper (Popper.js:173)
at Popper._updatePopper (Popper.js:152)
I am using react 16 and react-datepicker 0.61
I get the same errors.
react 16, react-datepicker 1.2.1, react-popper 0.8.2
Any news on this?
Looks to me like for some reason the import of placements from popper.js is returning undefined instead of an array of placements. Will try to look into it and submit a PR in the next few days unless somebody has time sooner.
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.
Most helpful comment
Any news on this?