react-flatpickr
react-flatpickr copied to clipboard
First keystroke on highlighted time input is not picked up
See the attached GIF. The log represents the value of the minutes input span tag. In this GIF I am ...
- Clicking the minute input to highlight its text
- Hitting the "1" key. This happens in the GIF when you see the text un-highlight and the cursor moves to the end of the input. However, my keystroke is not reflected in the input's value.
- On subsequent keypresses, the "1" is picked up.
The expected behavior is that, when the text is highlighted, any keystokes would overwrite the current value. This seems to be a problem only with the React component, not with Flatpickr itself.