Skip to main content

Bug Tracker

Side navigation

#9733 closed bug (wontfix)

Opened July 03, 2011 05:43PM UTC

Closed July 12, 2011 02:44PM UTC

Inproper performance of .slideDown()

Reported by: roviury@gmail.com Owned by:
Priority: undecided Milestone: 1.next
Component: effects Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:
Description

Tested:

IE8+

CHROME

Occur in jQuery 1.2.2+ ( even in current version, 1.6.2 )

Description:

.slideDown() for an element of fixed(or absolute?) position will slide over its original height.

Demo

In http://jsfiddle.net, i found this bug just occurs when "Normalized CSS" is not checked

Attachments (0)
Change History (3)

Changed July 03, 2011 05:48PM UTC by roviury@gmail.com comment:1

In Normalized CSS, i found that the bug disappeared after adding "ul { padding:0; }"

Changed July 04, 2011 07:00AM UTC by anonymous comment:2

Replying to [comment:1 roviury@…]:

In Normalized CSS, i found that the bug disappeared after adding "ul { padding-left:0; }"

Changed July 12, 2011 02:44PM UTC by john comment:3

component: unfiledeffects
resolution: → wontfix
status: newclosed

While this is unfortunate, it does make sense - the padding messes up our height calculations so it comes out strangely. It's best to just not use padding on elements that are going to be animated like that.