Skip to main content

Bug Tracker

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:
Attachments (0)
Change History (2)

Changed January 23, 2014 04:33PM UTC by timmywil comment:1

resolution: → notabug
status: newclosed

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

Changed January 23, 2014 05:04PM UTC by anonymous 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..