Bug Tracker

Modify

Ticket #6064 (closed bug: worksforme)

Opened 3 years ago

Last modified 3 years ago

.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:
Blocking: Blocked by:

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

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

Change History

Changed 3 years ago by robhues

sample of the problem with 'show' in IE8

comment:1 Changed 3 years ago by robhues

Still doesn't work in 1.4.2!

comment:2 Changed 3 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 3 years ago by snover

  • Priority set to undecided
  • Status changed from new to closed
  • Resolution set to worksforme

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.