Skip to main content

Bug Tracker

Side navigation

#6064 closed bug (worksforme)

Opened February 10, 2010 07:45AM UTC

Closed November 19, 2010 05:37AM UTC

.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 February 10, 2010 07:46AM UTC.

    sample of the problem with 'show' in IE8

Change History (3)

Changed April 22, 2010 08:27AM UTC by robhues comment:1

Still doesn't work in 1.4.2!

Changed April 22, 2010 09:07AM UTC by robhues comment:2

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.

Changed November 19, 2010 05:37AM UTC by snover comment:3

priority: → undecided
resolution: → worksforme
status: newclosed

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