Description

Stopping a toggle animation while it is in progress and consecutively calling another toggle will add the paddingLeft and paddingRight to the element's width, as well as paddingTop and paddingBottom to the height.

It also affects the regular .show/.hide animation methods.

In .show(), the element animates further than its actual dimensions before suddenly having its proportions fixed at the last step of the animation.

.hide() behaves similarly, but rather the element is extended beyond its actual dimensions (by the value of the padding) at the beginning of the animation (obviously).