Bug Tracker

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#14698 closed bug (notabug)

Animate glitch with margin overflow

Reported by: aristidesfl@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:

Change History (2)

comment:1 Changed 5 years ago by timmywil

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

comment:2 Changed 5 years ago by anonymous

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..

Note: See TracTickets for help on using tickets.