#4623 closed enhancement (wontfix)
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!
Change History (3)
comment:1 Changed 13 years ago by
Component: | unfiled → fx |
---|
comment:2 Changed 13 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.