Opened 9 years ago

Closed 7 years ago

#5953 closed bug (fixed)

IE8 restrict date range prev month icon alpha opacity on wrong element

Reported by: Nicholas Llewellyn Owned by:
Priority: minor Milestone: 1.9.1
Component: ui.datepicker Version: 1.8.3
Keywords: ie8 disabled canAdjustMonth hideIfNoPrevNext Cc:
Blocked by: Blocking:

Description

In Internet Explorer 8, when using the restrict date range feature, when restricting to - not before today. In current month, it is not possible to navigate to the previous month which is correct functionality.

In all browsers, the ui-datepicker-header ui-datepicker-prev ui-icon-circle-triangle-w/e icon alpha opacity is set to less than 100 to indicate that it is disabled which is correct functionality.

The alpha opacity setting is not recognised by IE8 as it is applied to the <a> which the <span> is contained within. The <span> is the element which has the icon as a background image.

Performing an in-line edit using IE Developer tools and adding the ui-state-disabled class to the <span> resolves this issue.

View an example here http://jqueryui.com/demos/datepicker/#min-max remember IE8 only.

Attachments (2)

IE8 restrict date range prev month icon alpha opacity on wrong element.js (1.6 KB) - added by Nicholas Llewellyn 9 years ago.
Code section affected and example fix
Alternative IE8 detections.js (963 bytes) - added by Nicholas Llewellyn 9 years ago.
Alternative (untested) only IE8 fix with conditional

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by Nicholas Llewellyn

Code section affected and example fix

Changed 9 years ago by Nicholas Llewellyn

Alternative (untested) only IE8 fix with conditional

comment:1 Changed 9 years ago by Nicholas Llewellyn

My ref FB 9867

comment:2 Changed 7 years ago by Scott González

Milestone: TBD1.11.0

comment:3 Changed 7 years ago by mikesherov

Keywords: ie8 added
Status: newopen

comment:4 Changed 7 years ago by tj.vantoll

Milestone: 1.11.01.9.1
Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.