Skip to main content

Bug Tracker

Side navigation

#4685 closed bug (worksforme)

Opened May 21, 2009 07:52PM UTC

Closed November 20, 2010 03:49AM UTC

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:
Description

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 (0)
Change History (2)

Changed June 13, 2010 02:50AM UTC by dmethvin comment:1

component: unfiledfx

Changed November 20, 2010 03:49AM UTC by addyosmani comment:2

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!