Preventing Jumpy/Buggy jQuery Animations
Ever noticed how sometimes you’ll use a jQuery animation effect like slideToggle() and the DOM element kinda chops its way through the animation? It turns out that elements you’re animating need to have their widths and heights hard-coded in order to animate predictably. Here’s my solution: