I'm building a rather complicated UI widget which has some problems in Chrome. I was able to isolate the problem and am showcasing it at http://jsfiddle.net/8Kb3B/
I have a div
inside a td
, and I'm trying to toggle the div with jQuery's .animate()
. What happens in Chrome is that the td
doesn't grow back when the div
is returned to its original width. Also, if you pay close attention to the end of the "hide" animation, you'll see that the td
's width briefly flashes at the width of the content of the div
, which I find weird.
The same thing happens when .toggle(delay)
is used. If I use .toggle()
without a delay, the whole thing works as intended.
The animation works properly in Mozilla's offerings and even in IE.
Am I missing something really simple here?