Skip to content

Commit

Permalink
Merge pull request #20 from OutSystems/ROU-11023-v2
Browse files Browse the repository at this point in the history
ROU-11023: Match a missing default windows behaviour.
  • Loading branch information
joselrio authored Sep 6, 2024
2 parents fd0944c + 89aeca5 commit 8f74942
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1836,7 +1836,11 @@ function FlatpickrInstance(
e.preventDefault();
updateTime();
focusAndClose();
} else selectDate(e);
} else if ((eventTarget as HTMLElement).tagName === "SELECT") {
break;
} else {
selectDate(e)
};

break;

Expand Down

0 comments on commit 8f74942

Please sign in to comment.