Hacker0x01/react-datepicker — pull request #31 by RSO (2014-07-08 06:42:33+00:00)
Title: Replace onClick with onMouseDown

onMouseDown is actually triggered *before* blur in at least Firefox and Chrome. IE test is still needed.

This way we no longer need the ugly and flaky setTimeout (only one left to defer the focus for Firefox).