Skip to main content

Search and Top Navigation

#5843 closed bug (invalid)

Opened July 20, 2010 11:02PM UTC

Closed October 31, 2012 08:57AM UTC

Datepicker: stays open if you tab out quickly

Reported by: igor.nadj@gmail.com Owned by: igor.nadj@gmail.com
Priority: minor Milestone: 1.11.0
Component: ui.datepicker Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:
Description

A solution (for tabbing only, mouse click is less of a problem):

Add this code:

else if (event.keyCode == 9) {
// tab out while animating in
$.datepicker._hideDatepicker();
handled = false;
}

Here:

_doKeyDown: function(event) {
...
break; // +1 week on ctrl or command +down
default: handled = false;
}
>>>>>>>>>>>>>>>>>>>>> here <<<<<<<<<<<<<<<<<
else if (event.keyCode == 36 && event.ctrlKey) // display the date picker on ctrl+home
$.datepicker._showDatepicker(this);
else {

And in:

_hideDatepicker: function(input) {

Comment out:

if (this._datepickerShowing) {

and the closing }

Attachments (0)
Change History (4)

Changed July 30, 2010 11:49AM UTC by jzaefferer comment:1

component: ui.coreui.datepicker

Changed October 11, 2012 09:04PM UTC by scottgonzalez comment:2

milestone: TBD1.11.0

Changed October 16, 2012 09:25PM UTC by petersendidit comment:3

owner: → igor.nadj@gmail.com
status: newpending
summary: Datepicker stays open if you tab out quicklyDatepicker: stays open if you tab out quickly

I was unable to recreate this problem: http://jsfiddle.net/petersendidit/kSjaP/

Can you still recreate this problem? What browser?

Changed October 31, 2012 08:57AM UTC by trac-o-bot comment:4

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!