Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

flatpickr: Show the same picker on mobile as on desktop.

Aman Agrawal8c46fde3428b
diff --git a/static/js/composebox_typeahead.js b/static/js/composebox_typeahead.js
index 14b34f32b56..920933e4770 100644
--- a/static/js/composebox_typeahead.js
+++ b/static/js/composebox_typeahead.js
@@ -778,6 +778,7 @@ export function show_flatpickr(element, callback, default_timestamp, options = {
positionElement: element,
dateFormat: "Z",
formatDate: (date) => formatISO(date),
+ disableMobile: true,
...options,
});