Skip to main content

Bug Tracker

Side navigation

#12416 closed bug (fixed)

Opened August 29, 2012 04:39AM UTC

Closed September 05, 2012 02:21AM UTC

.slideUp() not shrinking padding-bottom

Reported by: anonymous Owned by:
Priority: high Milestone: 1.8.1
Component: effects Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:

When using .slideUp() in v1.8.0, the bottom padding does not shrink as expected. The padding can be viewed in the inspector as the element v..e...r...y slowly slides up. See this fiddle:

If you change the jQuery version to 1.7.2 it works correctly. Able to repro in Chrome and FF latest, at least. I am using Windows 7.

I posted a question on StackOverflow here:

Attachments (0)
Change History (5)

Changed August 29, 2012 04:40AM UTC by comment:1

Not sure why it filed as anonymous, but I filed this.

Changed August 29, 2012 05:55AM UTC by Ult Combo comment:2

+1, a minimum fiddle shows that the paddingBottom is simply removed at the end of the animation and not animated as it should with the rest of the height.

A temporary workaround is to pass the borderTopWidth, paddingTop, height, paddingBottom and borderBottomWidth to .animate(). fiddle

Changed August 29, 2012 12:40PM UTC by dmethvin comment:3

component: unfiledeffects
priority: undecidedhigh
status: newopen

Changed September 02, 2012 09:02PM UTC by Ult Combo comment:4

It seems to be fixed in jQuery 1.8.1 fiddle.

Changed September 05, 2012 02:21AM UTC by mikesherov comment:5

milestone: None1.8.1
resolution: → fixed
status: openclosed