Opened 12 years ago

Last modified 11 years ago

#6275 closed defect

dojo.fx.sizeTo Behavioral Defect? — at Initial Version

Reported by: guest Owned by: anonymous
Priority: high Milestone: 1.4
Component: Dojox Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

This is not necessarily a bug. I'll just describe the setup and end result, and let you be the judge.

I changed the duration on the sizeTo animations in the sizeTo test to 550. Now if I move the mouse over the "Hover/exit" animation, such that it is only over the node for an instant, the animation that collapse the node gets stuck. It appears that the second animation in the chain that collapses the node back down does not execute.

Here are the parts that I changed (Only the duration):

var test1 = function(e){

this is our click test, dojox.fx.sizeTo({

node: e.target, width: 120, height:120, duration:550

}).play(5);

};

var testundo = function(e){

dojox.fx.sizeTo({

node: e.target, width:50, height:50, duration:550

}).play(5);

};

var test2 = function(e){

dojox.fx.sizeTo({

node: e.target, width: 120, height:120, duration:550, method:"combine"

}).play(5);

};

SO if you make similar changes and try it, you should see the same effect. I ran the test in firefox 2.0.

Cheers,

  • Ole

Change History (0)

Note: See TracTickets for help on using tickets.