Bug Tracker

Opened 10 years ago

Closed 9 years ago

#6064 closed bug (worksforme)

.show doesn't work on IE8

Reported by: robhues Owned by:
Priority: undecided Milestone: 1.4.2
Component: ajax Version: 1.4.1
Keywords: Cc:
Blocked by: Blocking:

Description

I have seen hints of this problem in other tickets, but the example I will upload really highlights the problem, at least with UL elements. In IE8, it seems as if the display property is not getting set properly when doing a "show", because if "display" is manually set to "block" after doing a ".show(500)", it works, although without animation.

There is a labeled line in the HTML file you can uncomment to see the workaround in action. This should give you an idea what is wrong.

The behavior works correctly in FF 3.5.7 and Safari 4.0.4, but not IE8.

Attachments (1)

jQueryTest.zip (48.3 KB) - added by robhues 10 years ago.
sample of the problem with 'show' in IE8

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by robhues

Attachment: jQueryTest.zip added

sample of the problem with 'show' in IE8

comment:1 Changed 9 years ago by robhues

Still doesn't work in 1.4.2!

comment:2 Changed 9 years ago by robhues

More detail on this. If the element you are trying to show follows an element with display:inline, then .show(500) will NOT work, but .show() will work.

If the element you are trying to show follows an element with display:block, then any form of show will work.

The problem with .show(500) is only in IE8 (not compatibility mode) and only following an element with display:inline.

comment:3 Changed 9 years ago by snover

Priority: undecided
Resolution: worksforme
Status: newclosed

This should be fixed along with the changes to :visible in #4512.

Note: See TracTickets for help on using tickets.