Bug Tracker

Opened 14 years ago

Closed 13 years ago

Last modified 11 years ago

#4557 closed bug (worksforme)

Safari/Chrome issues with animations

Reported by: lagnared Owned by:
Priority: major Milestone: 1.4
Component: effects Version: 1.3.2
Keywords: animation Cc:
Blocked by: Blocking:


It seems that .show() animation has some serious errors in Safari/Chrome. I'm not sure if it is JQuery's or the browsers' problem.

The first problem is that the browser sometimes just crashes after use of animation. The function works mostly okay at the first try, but then if I hide and show a div layer several times using animation, it starts to fail to draw the layer's background (so that it is transparent except that some of its contents still get displayed), and eventually it crashes. It seems that this problem doesn't occur for simple layers. I'm having trouble figuring out under what conditions this problem occurs. One case can be seen at the following address (but unfortunately it's in Korean):


Click 5, and try clicking the grey bar right above Close, Modify, and Delete buttons several times. You will see what kind of problem comes up. (again, I'm sorry it's in Korean) It works find in Firefox or IE.

The second problem is that when I give a function to .show() method as a second parameter, in Safari or Chrome, it gets called before the animation is over. I have a code that resizes the contents of the layer after the animation is done, but it turns out that the layer's height and width don't have their final values when my function gets called.

Those are some issues that I'm having with Safari and Chrome. My apologies for not having figured out the exact conditions for the first bug.

Attachments (1)

expando.js (1.9 KB) - added by karbit 14 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 14 years ago by rshaffaf

I'm having the exact same problem using jQuery 1.3.2 in Safari 3.1.2 and Chrome

In my case, I'm revealing a hidden div with fixed positioning that we need to have attached to the top of the page as you scroll. I've seen reports that fixed positioning was causing similar problems in older versions of jQuery and Safari.

comment:2 Changed 14 years ago by rshaffaf

I've uploaded a test case reduction to my colleague's web server http://mikepultz.com/safari-chrome2.html

I'm also submitting a bug report with Webkit, since nothing jQuery is doing should be able to crash the browser.

Any help from anyone here would still be greatly appreciated.

Changed 14 years ago by karbit

Attachment: expando.js added

comment:3 Changed 13 years ago by snover

Resolution: worksforme
Status: newclosed

Works in latest versions of these browsers.

Note: See TracTickets for help on using tickets.