Go here:
http://react-day-picker.js.org/examples/input-custom-overlay
- (Mouse) click on the datepicker input, an "overlay" should show.
- Click on any white area within the overlay, then press the esc key
- Overlay should close, but nothing happens
- Click anywhere outside of the overlay, and again the overlay should close but it's not.
This also happens when giving focus to the custom input within the overlay in the demo page.