#1004 closed bug (worksforme)
min-height causes abnormal slide effect
Reported by: | Yansky | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.1.3 |
Component: | effects | Version: | 1.1.2 |
Keywords: | css slide fx | Cc: | |
Blocked by: | Blocking: |
Description (last modified by )
When you set a min-height for a div in your stylesheet, the slide effects display the div all at once rather than in a smooth motion.
Example: http://34r34r.dreamhosters.com/newdesign/new-slide-test.html
Change History (7)
comment:1 follow-up: 2 Changed 16 years ago by
comment:2 Changed 16 years ago by
Replying to john: Yep fair enough. I was 50/50 as to whether I should open this ticket as a bug or as a feature request. :)
comment:3 Changed 15 years ago by
Description: | modified (diff) |
---|---|
need: | → Review |
Resolution: | → worksforme |
Status: | new → closed |
The example no longer works and from the discussion it sounds like a questionable bug. Closing for now. Feel free to reopen it with a new test case and additional information if necessary.
comment:4 follow-up: 5 Changed 14 years ago by
Dup #4415 has a patch, although I can't figure why you'd want to apply a min-height to divs and use this effect.
comment:5 Changed 14 years ago by
Replying to dmethvin:
Dup #4415 has a patch, although I can't figure why you'd want to apply a min-height to divs and use this effect.
I use it at work. It's an editor, we've got a part of the system ui and custom stuff intertwined that can close, but when it is open we want it to actually show up with a proper size because otherwise users will be unable to use a tool to click on the empty inside in order to select it and put stuff inside.
comment:6 Changed 12 years ago by
Just a note that this (still extant) bug is re-reported as: #4415 (which, as dmethvin notes, has a patch), #4623, #5905, and #6618
Just addeed a new comment to #5905 about it since this one has been closed for years; but in the interest of completeness, here's a jsFiddle showing the bug still present in 1.4.4:
comment:7 Changed 12 years ago by
test case with "workaround". It's up to the author to decide whether they want to have min-height fiddled with or not.
That seems valid to me. Considering that a slideDown animates the height of an element. It seems like if you wanted to still animate something that stays at a particular minimum height you'd have to do what you posted to the wiki: http://docs.jquery.com/Tutorials:Getting_Around_The_Minimum_Height_Glitch
I haven't tested this, but maybe something like:
might work