[jQuery] Re: Animating show() and hide() of TBODY

2009-09-03 Thread candlerb
Ticket http://dev.jquery.com/ticket/5157

[jQuery] Re: Animating show() and hide() of TBODY

2009-09-03 Thread candlerb
I have made a frig which solves this, by applying display: table-row- group instead of display: block for TBODY elements. There's a slight "bounce" when unhiding (Firefox 3.0.13) - seems the height goes a few pixels to far - but otherwise it seems OK. I doubt this hard-coded logic is the right wa

[jQuery] Re: Animating show() and hide() of TBODY

2009-09-03 Thread candlerb
Here's a page which demonstrates the problem; hiding and showing tbody#middle makes it jump to the end of the page as it gets display: block. It works if you set anim_speed to 0 (but then it's not animated, of course) Test animate of tbody jQuery( function($) { var anim_speed = 250; var t