Skip to main content

Bug Tracker

Side navigation

#1051 closed enhancement (fixed)

Opened March 15, 2007 09:29PM UTC

Closed March 18, 2007 06:52PM UTC

Last modified June 20, 2007 12:54AM UTC

Animations are running when they shouldn't be

Reported by: daemach Owned by:
Priority: major Milestone: 1.1.3
Component: effects Version: 1.1.2
Keywords: fade slide Cc:
Blocked by: Blocking:
Description

I'm working with the fade and slide animations now, and while testing I've hit a couple of points where an element tried to slideIn when it was already ... in, and fadeOut when it was already...out. In both cases the animation starts from the beginning, fully hiding the element and sliding it in or showing the element and fading it out.

I know I can handle it in my code, but the behavior seems a little less intelligent than it could be. If someone calls a fadeout function the end result is display:none - likewise for a slideup. Therefore, if the element style is already display:none the function is technically successful. Can this check be worked into the core logic? It would make the library feel smarter.

Attachments (0)
Change History (1)

Changed March 18, 2007 06:52PM UTC by john comment:1

resolution: → fixed
status: newclosed

Fixed in SVN rev [1542].