Date Picker is Focused When Popup is Shown

Hello,

Every time I click a calendar event to display a popup, the date picker on that popup opens right away.

Has anyone else run into this as well?

2 Likes

When you open the popup, it’s probably setting the focus to the date-picker because it’s the first input.

There’s probably a few ways to get around it. An easy one could be to place an input 1x1px in the top corner, make it transparent. This will be focused when the popup opens. Or just set the focus to a different input when opening the popup?

7 Likes

Awesome hack Andy. It works!

1 Like

This topic was automatically closed after 14 days. New replies are no longer allowed.