Opened 13 years ago

Closed 13 years ago

#5179 closed bug (fixed)

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.)

Change History (2)

comment:1 Changed 13 years ago by Scott González

Milestone: TBD1.8

comment:2 Changed 13 years ago by kbwood

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.

Note: See TracTickets for help on using tickets.