Opened 13 years ago

Closed 10 years ago

#7385 closed enhancement (invalid)

dojox.fx.highlight doesn't fade back to original color it fades back to the color when it started

Reported by: dave_daniel Owned by: dave_daniel
Priority: high Milestone: future
Component: fx Version: 1.1.1
Keywords: Cc:
Blocked By: Blocking:


If you are highlighting a node and have a duration of 1 second but another highlight event is thrown before it is done. The second highlight will run but it will only fade back to the color that the node was when the event was started and not fade back to the color of the node before the first event was started.

Change History (3)

comment:1 Changed 13 years ago by dante

Milestone: tbdfuture
Owner: changed from Bryan Forbes to dante

this is because each new animation determines the color to 'fade back to' upon starting, and you are creating the animation while the other has not completed. two immediate solutions come to mind: a) call .gotoPercent(100,true) on the running animation to force it to the end color value or b) simply use animateProperty passing a backgroundColor property for the end value.

comment:2 Changed 10 years ago by ben hockey

Owner: changed from dante to dave_daniel
Status: newpending

can this ticket be closed?

if there's no response within 14 days it will automatically close.

comment:3 Changed 10 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.