Ticket #4608 (closed bug: invalid)
Overflow left "visible" vs return to "auto" after animate on Safari on some MacBooks
|Reported by:||gftn||Owned by:|
|Keywords:||animate overflow Safari MacBook||Cc:|
On some (but not all) Macs running one of our apps under Safari (and not on other browsers or on Windows), after running an animate to change the height of a <div> that is a scrolling list (i.e., with overflow=auto) with a statement like:
the list (quite repeatably) loses its scroll bar and spills on down the page. If you query the status of the overflow attribute after the event with:
the result is "visible". On other browsers/platforms, it's "auto" as expected.
Note that there are two other animates running along with this one (we're basically opening up a space for an image, making one <div> completely disappear and shortening the <div> containing list in question.)
If we explicitly reset the overflow to auto with:
in the post-animate callback function (running off one of the other animates), it fixes the problem.