Opened 10 years ago

Closed 10 years ago

#8615 closed defect (fixed)

animation from dojo.fx.combine gives wrong status on end

Reported by: gary Owned by: dante
Priority: high Milestone: 1.4
Component: fx Version: 1.2.3
Keywords: Cc:
Blocked By: Blocking:

Description

The following piece of code results in 1 alert with the message "stopped stopped playing" but it should be "stopped stopped stopped".

It looks like the returned dojo.fx._Animation's status doesn't get updated after all the animations have played.

Please see attached bug_test.html for sample code.

Attachments (1)

bug_test.html (826 bytes) - added by gary 10 years ago.
sample code that produces bug

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by gary

Attachment: bug_test.html added

sample code that produces bug

comment:1 Changed 10 years ago by Bryan Forbes

Milestone: tbdfuture
Owner: changed from Bryan Forbes to dante

comment:2 Changed 10 years ago by dante

Milestone: future1.4
Status: newassigned

this isn't broken, seems to be a race condition. (checking status outside an attached onEnd function works fine. also checking inside in a timeout works)

comment:3 Changed 10 years ago by dante

Resolution: fixed
Status: assignedclosed

(In [17335]) fixes #8615 - adding unit tests to check the status of combined and chained animations onend

Note: See TracTickets for help on using tickets.