Bug Tracker

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1021 closed bug (fixed)

fx/animate loses original overflow setting

Reported by: lm Owned by:
Priority: minor Milestone: 1.1.3
Component: effects Version: 1.1.2
Keywords: fx animate overflow Cc:
Blocked by: Blocking:

Description

Within fx() (which is used by animate()), the css 'overflow' property loses it's original setting resulting in a "pop" back to a non-clipped state when one is trying to shrink the height of a div while using an overflow of hidden.

easy to fix:

change line 4954-5 to include a save of the original state:

y.origOverflow = y.overflow;    // NEW LINE
y.overflow = "hidden";


then revert to changed state by changing line 5067 from:

y.overflow = "";    // OLD LINE

to:

y.overflow = y.origOverflow;    // MODIFIED LINE

Change History (1)

comment:1 Changed 13 years ago by john

Milestone: 1.1.3
Resolution: fixed
Status: newclosed

This should be fixed in SVN rev [1531].

Note: See TracTickets for help on using tickets.