Opened 13 years ago
Closed 12 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)
Change History (4)
Changed 13 years ago by
Attachment: | jQueryTest.zip added |
---|
comment:2 Changed 13 years ago by
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 12 years ago by
Priority: | → undecided |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
This should be fixed along with the changes to :visible in #4512.
sample of the problem with 'show' in IE8