# Date Picker is Focused When Popup is Shown

**URL:** <https://forum.bubble.io/t/date-picker-is-focused-when-popup-is-shown/146230>\
**Category:** Bugs\
**Created:** [April 13, 2021, 10:00pm UTC](https://forum.bubble.io/t/date-picker-is-focused-when-popup-is-shown/146230 "2021-04-13T22:00:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Boost](https://avatars.discourse-cdn.com/v4/letter/b/8e8cbc/32.png) [@Boost](https://forum.bubble.io/u/Boost)\
**Post date:** [April 13, 2021, 10:00pm UTC](https://forum.bubble.io/t/date-picker-is-focused-when-popup-is-shown/146230/1 "2021-04-13T22:00:08Z")

</div>

Hello,

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

 ![Screenshot_441](https://us1.discourse-cdn.com/bubble/original/3X/f/8/f8f5473e48f9df6a6193baf70724c305c0fbd8ad.png)

Has anyone else run into this as well?

---

<div class="post-metadata">

**Author:** ![andy.i](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/andy.i/32/64210_2.png) [@andy.i](https://forum.bubble.io/u/andy.i)\
**Post date:** [April 13, 2021, 10:50pm UTC](https://forum.bubble.io/t/date-picker-is-focused-when-popup-is-shown/146230/2 "2021-04-13T22:50:03Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Boost](https://avatars.discourse-cdn.com/v4/letter/b/8e8cbc/32.png) [@Boost](https://forum.bubble.io/u/Boost)\
**Post date:** [April 13, 2021, 11:02pm UTC](https://forum.bubble.io/t/date-picker-is-focused-when-popup-is-shown/146230/3 "2021-04-13T23:02:49Z")

</div>

Awesome hack Andy. It works!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [April 27, 2021, 10:00pm UTC](https://forum.bubble.io/t/date-picker-is-focused-when-popup-is-shown/146230/4 "2021-04-27T22:00:59Z")

</div>

Closed on April 27, 2021, 10:00pm UTC

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