Skip to main content

Search and Top Navigation

#5524 closed bug (duplicate)

Opened April 16, 2010 10:53PM UTC

Closed October 17, 2012 04:36AM UTC

Tabbing quickly through datepicker-enabled field leaves calendar stuck

Reported by: dlee Owned by:
Priority: minor Milestone: 1.11.0
Component: ui.datepicker Version: 1.8
Keywords: Cc:
Blocked by: Blocking:
Description

When I tab into a datepicker-enabled field, the calendar correctly pops up. When I tab away, the calendar disappears, but if I tab away too quickly (while the calendar is growing), the calendar remains up.

Reproduce this by tabbing in and then quickly tabbing out of a datepicker-enabled field.

Attachments (0)
Change History (3)

Changed April 28, 2010 05:52AM UTC by kbwood comment:1

The visibility flag is set too late - so make this change to _showDatepicker function:

			var postProcess = function() {
//				$.datepicker._datepickerShowing = true; // Remove from here
				var borders = $.datepicker._getBorders(inst.dpDiv);
				inst.dpDiv.find('iframe.ui-datepicker-cover'). // IE6- only
					css({left: -borders[0], top: -borders[1],
						width: inst.dpDiv.outerWidth(), height: inst.dpDiv.outerHeight()});
			};
			inst.dpDiv.zIndex($(input).zIndex()+1);
			$.datepicker._datepickerShowing = true; // And add it here

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

milestone: TBD1.11.0

Changed October 17, 2012 04:36AM UTC by mikesherov comment:3

resolution: → duplicate
status: newclosed

Duplicate of #6775.