Skip to main content

Bug Tracker

Side navigation

#3038 closed bug (duplicate)

Opened June 13, 2008 03:03PM UTC

Closed December 19, 2008 06:12PM UTC

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

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 (1)
  • testcase.zip (17.2 KB) - added by poorladrob June 13, 2008 03:19PM UTC.

    Test case that fails in Safari 3.1.1

Change History (7)

Changed June 13, 2008 03:04PM UTC by john comment:1

priority: majorcritical

Changed June 13, 2008 03:18PM UTC by john comment:2

description: 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. \ \ http://is.gd/wBK \ \ I don't want the above link circulated outside of discussion here, nor do I want the raw URL displayed because of search engines etc. \ \ 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.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.

Changed June 13, 2008 03:21PM UTC by poorladrob comment:3

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.

Changed October 13, 2008 07:59AM UTC by djmccormick comment:4

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

Changed October 15, 2008 01:00PM UTC by DavidDecraen comment:5

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.

Changed November 12, 2008 07:31AM UTC by DavidDecraen comment:6

Any updates on this issue?

Changed December 19, 2008 06:12PM UTC by john comment:7

resolution: → duplicate
status: newclosed

Duplicate of #1239.