From efb9fda649289a7c843666beaef6340545a3c7b4 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Mon, 20 Feb 2023 08:09:03 +0100 Subject: [PATCH] Correct flatpickr positioning issue on modals --- assets/js/utils/ui.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/js/utils/ui.js b/assets/js/utils/ui.js index 573c13ac..a4bef6e6 100644 --- a/assets/js/utils/ui.js +++ b/assets/js/utils/ui.js @@ -175,6 +175,7 @@ window.App.Utils.UI = (function () { allowInput: true, dateFormat: getDateFormat(), locale: getFlatpickrLocale(), + static: true, ...params }); } @@ -195,6 +196,7 @@ window.App.Utils.UI = (function () { dateFormat: getTimeFormat(), time_24hr: vars('time_format') === 'military', locale: getFlatpickrLocale(), + static: true, ...params }); }