Skip to main content

Search and Top Navigation

#5179 closed bug (fixed)

Opened February 13, 2010 01:34AM UTC

Closed February 22, 2010 06:29AM UTC

Date picker stays open when the field isn't focused

Reported by: mesoconcepts Owned by:
Priority: minor Milestone: 1.8
Component: ui.datepicker Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

When entering a field that is tied to a datepicker, the calendar appears. And once it appears, one can hit the tab key to make it disappear. I'd like to make two suggestions.

Firstly, could we add some kind of option that avoids the need to hit the tab key twice. Better yet, could we remove this feature altogether?

Secondly, there is an edge case which isn't processed properly. If you tab in, and immediately tab out (before the calendar is finished displaying), the calendar continues to open... and it stays open. (You need to click somewhere in the screen to make it disappear.)

Attachments (0)
Change History (2)

Changed February 18, 2010 01:56PM UTC by scottgonzalez comment:1

milestone: TBD1.8

Changed February 22, 2010 06:29AM UTC by kbwood comment:2

resolution: → fixed
status: newclosed

The calendar appears because the field gains focus, and disappears because it loses focus. If you don't want it to open on focus, set the showOn option to 'button'.

v1.8 has already fixed the second problem.