Skip to main content

Bug Tracker

Side navigation

#4623 closed enhancement (wontfix)

Opened May 05, 2009 01:45AM UTC

Closed November 18, 2010 01:13AM UTC

Last modified November 20, 2010 01:58AM UTC

css min-height / min-width breaks animation

Reported by: Abro Owned by:
Priority: minor Milestone: 1.4
Component: effects Version: 1.3.2
Keywords: css,min,height,width,animate,effect Cc:
Blocked by: Blocking:
Description

In my opinion the way our method ''css('min-height','...')'' works isn't as usable as it could be in the most cases out there.

maybe i'm wrong. But let's say:

$(foo).css('min-height','100px');
$(foo).animate({height: '0px'},500);

The result is that there is __no effect__.

Maybe it's trivial and somewhere clear. But that's a thing where writing beautiful code isn't funny anymore. It's the same if i assign '' '10px' '' or '' '90px' '' to animate.

Well ... i know it's a question of how you look at it. But what happens if a plugin adds content to my website and i cannot handle its dimensions? I think that's Creepy.

Uh and : You're doing a great job!

Attachments (0)
Change History (3)

Changed June 13, 2010 02:41AM UTC by dmethvin comment:1

component: unfiledfx

Changed November 18, 2010 01:13AM UTC by snover comment:2

resolution: → wontfix
status: newclosed

It’s up to the author to decide whether they want to have min-height overridden or if they want the animation to clamp to it. Since both options are valid, jQuery does nothing, and leaves it up to you to make the appropriate choice.

Changed November 20, 2010 01:58AM UTC by snover comment:3

#5905 is a duplicate of this ticket.