Skip to main content

Bug Tracker

Side navigation

#13272 closed bug (duplicate)

Opened January 19, 2013 07:34PM UTC

Closed January 19, 2013 07:39PM UTC

Last modified January 19, 2013 07:43PM UTC

1.9 Regression - padding is added to width/height when .stop()ing and showing an element

Reported by: Ult Combo Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.0
Keywords: Cc:
Blocked by: Blocking:
Description

Test case:

http://jsfiddle.net/jCKYM/1/

Code:

$div.stop().toggle(600);

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).

Regression from 1.8.3

Attachments (0)
Change History (2)

Changed January 19, 2013 07:39PM UTC by dmethvin comment:1

resolution: → duplicate
status: newclosed

Duplicate of #13183.Looks like we have fixed this in the -git build so it will be in 1.9.1 in a week or two.

Changed January 19, 2013 07:43PM UTC by Ult Combo comment:2

_comment0: Oh thanks for the quick reply @dmethvin, I thought this would have been posted already but couldn't find the a duplicate. `=]`1358624642009939

Oh thanks for the quick reply @dmethvin, I thought this would have been posted already but couldn't find a duplicate. =]