We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4b2af2c + dc56342 commit ecaddb8Copy full SHA for ecaddb8
src/index.ts
@@ -431,7 +431,7 @@ function FlatpickrInstance(
431
bind(window, "resize", debouncedResize);
432
433
if (window.ontouchstart !== undefined)
434
- bind(window.document, "click", documentClick);
+ bind(window.document, "touchstart", documentClick);
435
else bind(window.document, "mousedown", onClick(documentClick));
436
bind(window.document, "focus", documentClick, { capture: true });
437
0 commit comments