Opened 5 years ago

Last modified 5 years ago

#15276 new bug

Datepicker does not hide when show is cancelled on another field

Reported by: pmahony893 Owned by:
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by pmahony893)


Three form fields, of which the second and third have a datepicker attached.

The datepicker has a beforeShow function that returns false for the second datepicker, but an empty options object ({}) for the first.

When the user tabs quickly from the first field to the third, I expect the datepicker to not be visible. The actual result is that the datepicker is visible under the second field. This occurs because the beforeShow function for the third field is called while the show animation for the second is still in progress, and it calls stop on the datepicker container element.


Change History (1)

comment:1 Changed 5 years ago by pmahony893

Description: modified (diff)
Note: See TracTickets for help on using tickets.