Opened 12 years ago

Closed 12 years ago

#6116 closed bug (duplicate)

Datepicker: day with same day number as today is active in past and future months

Reported by: rdworth Owned by:
Priority: major Milestone: 1.9.0
Component: ui.datepicker Version: 1.8.4
Keywords: Cc:
Blocked by: Blocking:


This bug was introduced by #5676


Here's a workaround:

  onChangeMonthYear: function() {
    setTimeout(function() {
      $(".ui-datepicker .ui-state-active").removeClass("ui-state-active");
    }, 0);

1.8.5 workaround demo:

As for the bug, here are minimal test cases:

1.8.2 (before)

1.8.4 (after)

Steps to reproduce

  1. Click in the text box to open the datepicker
  2. Click forward a month or back a month
  • Expected behavior: no dates are active
  • Actual behavior: the day with the same day num as today's date is active

Change History (1)

comment:1 Changed 12 years ago by Scott González

Resolution: duplicate
Status: newclosed

Duplicate of #5984.

Note: See TracTickets for help on using tickets.