Skip to main content

Bug Tracker

Side navigation

#11399 closed bug (duplicate)

Opened February 27, 2012 11:41AM UTC

Closed February 27, 2012 12:53PM UTC

Last modified February 27, 2012 01:13PM UTC

visible content when animating

Reported by: wasikuss Owned by:
Priority: low Milestone: None
Component: effects Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:
Description

when animating size of content of div his visible area is trimmed to his inner bounds. if the content overflap border or lay out of div then it is trimmed even if overflow is set to visible

here example: http://jsfiddle.net/wasikuss/sZeG7/

bottom div show how it should work

Attachments (0)
Change History (4)

Changed February 27, 2012 11:54AM UTC by wasikuss comment:1

i have found that when jQuery calls animate function sets the element overflow to hidden. how can i turn it off?

Changed February 27, 2012 12:53PM UTC by sindresorhus comment:2

component: unfiledeffects
priority: undecidedlow
resolution: → duplicate
status: newclosed

The overflow attribute of an element with an animated width or height is set to hidden until after the animation is complete in order to prevent content from overflowing during animations. You can easily override this by setting "overflow: visible !important;" on the animated div.

Changed February 27, 2012 12:53PM UTC by sindresorhus comment:3

Duplicate of #2648.

Changed February 27, 2012 01:13PM UTC by wasikuss comment:4

i have found that is bug in 8414 line

			if ( opt.overflow != null ) {

it should be

			if ( opt.overflow == undefined ) {

then you dont have to use any css tricks like ''!important''