From d2be18d46161ce1937b06cd58429382bfb653b55 Mon Sep 17 00:00:00 2001 From: ezgi Date: Sun, 27 Apr 2025 16:59:44 +0300 Subject: [PATCH] date input fields in specific areas requires second click for input focus --- components/lib/calendar/Calendar.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/lib/calendar/Calendar.js b/components/lib/calendar/Calendar.js index 9cbf9c5122..4719b60813 100644 --- a/components/lib/calendar/Calendar.js +++ b/components/lib/calendar/Calendar.js @@ -1886,6 +1886,9 @@ export const Calendar = React.memo( OverlayService.on('overlay-click', overlayEventListener.current); } + setTimeout(() => { + DomHandler.focus(inputRef.current); + }, 0); }; const hide = (type, callback) => {