Opened 8 years ago

Closed 8 years ago

#13988 closed defect (fixed)

[regression] dijit.Calendar - hovering disabled dates is "jumpy"

Reported by: ben hockey Owned by: bill
Priority: high Milestone: 1.7
Component: themes Version: 1.7.0b1
Keywords: Cc:
Blocked By: Blocking:

Description

go to the dijit.Calendar test page (eg http://download.dojotoolkit.org/release-1.7.0b5/dojo-release-1.7.0b5/dijit/tests/test_Calendar.html) click the "disable weekends" link and then move your mouse over any of the disabled dates in the Calendar. you'll see lots of ugly jumping. this is a regression from 1.6.1 where disabled dates are not highlighted when you hover over them.

Change History (4)

comment:1 Changed 8 years ago by ben hockey

a possible fix:

  • claro/Calendar.less

     
    230230
    231231       /* override hover effects above, hover and click on disabled date should have no effect */
    232232       background-color: transparent;
    233        border-width: 0;
    234        padding: 4px 6px 4px 5px;
     233       border-color: transparent;
    235234       color: @disabled-text-color;
    236235}

comment:2 Changed 8 years ago by bill

The border-color: transparent doesn't work on older versions of IE. That's why we instead set border to 0 width and increase padding. But I'll fix the problem, thanks for pointing it out.

comment:3 Changed 8 years ago by bill

Resolution: fixed
Status: newclosed

In [26662]:

Fix regression where border was showing up on hover of disabled dates, fixes #13988 !strict.

comment:4 Changed 8 years ago by bill

Milestone: tbd1.7
Note: See TracTickets for help on using tickets.