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 )
Scenario:
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.
Note: See
TracTickets for help on using
tickets.