Ticket #3858 (closed bug: fixed)

Opened 7 years ago

Last modified 7 years ago

DatePicker not hiding consitently on external click

Reported by: redsquare Owned by:
Priority: major Milestone: 1.7
Component: ui.datepicker Version: 1.6rc5
Keywords: Cc:
Blocking: Blocked by:



I have noticed when the datepicker is shown and I click outside of the document it does not invoke the document.body click. If I change the if block starting on line 7362 (full unminified jquery- ui-personalized-1.6rc4.js) to the following it works much better. I assume this is because I click outside the document body but still within the document (widescreen etc)

if (!$.datepicker.initialized){


.mousedown($.datepicker._checkExternalClick) .find('body') .append($.datepicker.dpDiv);

$.datepicker.initialized = true;



if (!$.datepicker.initialized) {



$.datepicker.initialized = true;


Change History

comment:1 Changed 7 years ago by scott.gonzalez

  • Priority changed from minor to major
  • Component changed from ui.core to ui.datepicker
  • Milestone changed from TBD to 1.6

comment:2 Changed 7 years ago by kbwood

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

Fixed in r1669.

Note: See TracTickets for help on using tickets.