Ticket #5179 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

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:
Blocking: Blocked by:

Description

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

comment:1 Changed 5 years ago by scott.gonzalez

  • Milestone changed from TBD to 1.8

comment:2 Changed 5 years ago by kbwood

  • Status changed from new to closed
  • Resolution set to fixed

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.