Opened 12 years ago
Closed 10 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)
Change History (6)
Changed 12 years ago by
Changed 12 years ago by
Attachment: | Alternative IE8 detections.js added |
---|
Alternative (untested) only IE8 fix with conditional
comment:2 Changed 10 years ago by
Milestone: | TBD → 1.11.0 |
---|
comment:3 Changed 10 years ago by
Keywords: | ie8 added |
---|---|
Status: | new → open |
comment:4 Changed 10 years ago by
Milestone: | 1.11.0 → 1.9.1 |
---|---|
Resolution: | → fixed |
Status: | open → closed |
This was fixed in 1.9.1 (https://github.com/jquery/jquery-ui/commit/fe1ecf97e01f6b9e6041ae324deafb69063d1c9c#themes/base/jquery.ui.theme.css). If you view the demo (http://jqueryui.com/demos/datepicker/#min-max) in IE8 now it looks correct.
Code section affected and example fix