Side navigation
#14698 closed bug (notabug)
Opened January 16, 2014 06:25PM UTC
Closed January 23, 2014 04:33PM UTC
Last modified January 23, 2014 05:04PM UTC
Animate glitch with margin overflow
Reported by: | aristidesfl@gmail.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.10.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Attachments (0)
Change History (2)
Changed January 23, 2014 04:33PM UTC by comment:1
resolution: | → notabug |
---|---|
status: | new → closed |
Changed January 23, 2014 05:04PM UTC by comment:2
How can it be the correct behaviour if jQuery doesn't animate over the displayed height?
If jQuery uses a theoretical height instead and the animation jumps/isn't fluid/has glitches, isn't the animation broken?
Margin collapse is a CSS feature. If jQuery decides not to support it maybe that should be in the documentation..
I think this is the correct behavior. It is not opinionated about the value of the section's overflow.
Applying overflow: hidden facilitates the desired animation.
http://codepen.io/timmywil/pen/yjKfd