Open EmilieLethu opened 10 months ago
It looks like this bug is caused by https://github.com/flatpickr/flatpickr/blob/master/src/index.ts#L1480, which sets the value from the input
value when a document click occurs and the time UI has lost focus if self.config.allowInput
is true. That call overwrites the value typed into the time UI.
Code causing this bug:
function documentClick(e: MouseEvent) {
[...]
if (lostFocus && isIgnored) {
if (self.config.allowInput) {
self.setDate(
[...]
I don't see any easy work-around, but would be happy to hear if anyone else has a solution.
https://jsfiddle.net/gveqz7Ld/
Your Environment
Current behavior
Example below : first with scrolling, second with typing
example.webm
Expected behavior