Bug Tracker

Opened 14 years ago

Closed 13 years ago

#4685 closed bug (worksforme)

Jumpy toggle() in Webkit when used on a div inside a table

Reported by: alex_sh Owned by:
Priority: major Milestone: 1.4
Component: effects Version: 1.3.2
Keywords: toggle show webkit jumpy Cc:
Blocked by: Blocking:


When using toggle() (or show() / hide()) on a div inside a table, the whole thing is really jumpy in Webkit (tested with Safari 3.1.2 (windows) and Chrome).

This issue manifested itself in other browsers too (opera, FF), but I was able to fix it by manually specifying a size on the table cells. However, it does not help the jumpiness in Webkit-based browsers.

I'm attaching a test case where the problem is clearly demonstrated.

Attachments (1)

jquery_toggle_webkit_bug.xhtml (1.6 KB) - added by alex_sh 14 years ago.
A test case

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by alex_sh

A test case

comment:1 Changed 13 years ago by dmethvin

Component: unfiledfx

comment:2 Changed 13 years ago by addyosmani

Resolution: worksforme
Status: newclosed

Thanks for submitting a ticket to the jQuery Bug Tracker!

I've reproduced your test case here Live Test Case . From what I could tell, many of the reasons you were getting jumpiness in your code could be narrowed down to a lack of clear CSS definitions for both the table and divs that you were trying to use show/hide with. These have been fixed in the test case above and work fine across FF, Chrome, Safari and IE9.

If you continue to experience the issue feel free to let us know!

Note: See TracTickets for help on using tickets.