Skip to main content

Bug Tracker

Side navigation

#3298 closed bug (worksforme)

Opened August 28, 2008 01:38PM UTC

Closed August 12, 2010 12:44AM UTC

animate string speeds 'show', 'hide' don't work as expected

Reported by: erangalp Owned by:
Priority: minor Milestone: 1.3
Component: effects Version: 1.2.6
Keywords: slide, animation Cc:
Blocked by: Blocking:

When animating the CSS properties 'width' and 'height', the string speeds 'show' and 'hide' show a small stutter in certain conditions. Specifically, when the element being animated has padding, the animation will stop/start when the property is equal to 0 pixels, but still showing the padding. This might be by design, but the default slideDown / slideUp animations use this behavior, making them look less then ideal.

Attached use case shows two divs - one with padding and one without. The div with the padding is never really hidden (since it stops resizing at the padding).

Attachments (1)
  • (31.4 KB) - added by erangalp August 28, 2008 01:38PM UTC.
Change History (1)

Changed August 12, 2010 12:44AM UTC by dmethvin comment:1

resolution: → worksforme
status: newclosed

The CSS height/width excludes border and padding; you can animate those properties separately however using .animate() to get a smoother transition.