Skip to main content

Bug Tracker

Side navigation

#4415 closed bug (duplicate)

Opened March 25, 2009 01:39AM UTC

Closed May 16, 2009 03:12AM UTC

fix: Using min-height causes breaks in slide animations

Reported by: dantman Owned by:
Priority: major Milestone: 1.4
Component: effects Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:

If you set min-height onto an element it causes breaks in slide animations.

Basically because the min-height definition is meant to limit the smallest height an element can be at when jQuery tries to animate the height to a value smaller than the min-height the browser holds the element at that min-height instead of continuing the shrinking up until the animation finishes and closes. Likewise when showing something the element immediately jerks out to the min-height then continues from there after a delay.

The fix is to treat min-height similar to display or rather overflow and set it to 0 while animating and then reset when finished.

I have uploaded a test case of the issue, and a version with the fix:



I saw bug #1004 but it had no working test case and was questionable if it was the same bug or not.

Attachments (1)
  • fix-minheight.patch (1.1 KB) - added by dantman March 25, 2009 01:40AM UTC.

    Patchfile for rev6300 to fix the bug

Change History (1)

Changed May 16, 2009 03:12AM UTC by dmethvin comment:1

resolution: → duplicate
status: newclosed

This does look like a dup of #1004.