Bug Tracker

Modify

Ticket #3038 (closed bug: duplicate)

Opened 5 years ago

Last modified 5 years ago

show() function fails on Safari under unknown circumstances

Reported by: poorladrob Owned by:
Priority: critical Milestone: 1.3
Component: core Version: 1.2.6
Keywords: Cc:
Blocking: Blocked by:

Description (last modified by john) (diff)

Hi there, my name is Rob Wright, working for a large financial organisation implementing jQuery in one of our applications.

It appears that under certain circumstances the show() function fails, certainly under Safari 3.1.1, and I've had to resort to using css('display', 'block') in order to display the matched elements.

I have not isolated it into a test case as yet, but you can see the issue here on one of our sites. We have a non-Ajax version of the form and an Ajax version that is set up upon page load, and as part of that function we're having to show and hide some elements using the CSS function because the show() is inoperable.

A quick Google search suggests others have had similar problems but have not submitted a ticket, according to John.

Many thanks to anyone who can shed some light on this.

Attachments

testcase.zip Download (17.2 KB) - added by poorladrob 5 years ago.
Test case that fails in Safari 3.1.1

Change History

comment:1 Changed 5 years ago by john

  • Priority changed from major to critical

comment:2 Changed 5 years ago by john

  • Description modified (diff)

Changed 5 years ago by poorladrob

Test case that fails in Safari 3.1.1

comment:3 Changed 5 years ago by poorladrob

Of note - if the element is initially hidden with inline styling, the bug doesn't occur. If it's hidden in an external stylesheet, the bug is triggered. See test case.

comment:4 Changed 5 years ago by djmccormick

I'm also having this issue. For now I'm using .css('display', 'none') and .css('display', 'block') to get around it.

comment:5 Changed 5 years ago by DavidDecraen

I'm having the same issue, and can perhaps provide a bit more context: To me it consistently and reproducibly happens on an element that has been removed by calling the remove function on it, but saved as a javascript variable:

See live page at:  http://jowl.ontologyonline.org/wine_demo.html

Hit search, the search results provide a tooltip (on hovering) in which certain elements refuse to be hidden in Safari. Compare with firefox or Internet Explorer to see that in those browsers the same elements are hidden.

comment:6 in reply to: ↑ description Changed 5 years ago by DavidDecraen

Any updates on this issue?

comment:7 Changed 5 years ago by john

  • Status changed from new to closed
  • Resolution set to duplicate

Duplicate of #1239.

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.