Opened 10 years ago

Last modified 3 years ago

#10075 assigned defect

Stale dojox.fx.slideBy Parameters

Reported by: ole Owned by:
Priority: high Milestone: 1.15
Component: fx Version: 1.3.2
Keywords: Cc: ole.ersoy@…
Blocked By: Blocking:

Description

It seems that if dojox.fx.slideBy calculates where the node should end up during animation construction.

I attached two tests (A and B). In test A both animations are cached on an instance of the Animation class. CLicking on the blue box slides the node up (Expands it upward). Clicking the orange box slides it down (Actually collapses it downward).

In test B the result is as expected. The node just collapses back down to 0 height.

In test A the node collapses, but moves further than originally expected. It slides 200 units, instead of 100 units.

SIDE NOTE: Should it be possible to do this: var animation = dojox.fx.wipeTo();

And then just set the parameters later, prior to playing the animation?

Attachments (2)

AnimationTestA.html (5.9 KB) - added by ole 10 years ago.
AnimationTestB.html (5.9 KB) - added by ole 10 years ago.

Download all attachments as: .zip

Change History (9)

Changed 10 years ago by ole

Attachment: AnimationTestA.html added

Changed 10 years ago by ole

Attachment: AnimationTestB.html added

comment:1 Changed 10 years ago by bill

Component: Generalfx
Owner: changed from anonymous to Bryan Forbes

comment:2 Changed 10 years ago by dante

Milestone: tbd1.5
Owner: changed from Bryan Forbes to dante

comment:3 Changed 9 years ago by Adam Peller

Milestone: 1.51.6

comment:4 Changed 9 years ago by dante

Milestone: 1.6future

comment:5 Changed 4 years ago by dylan

Milestone: future1.12

comment:6 Changed 4 years ago by dylan

Owner: dante deleted
Status: newassigned

comment:7 Changed 3 years ago by dylan

Milestone: 1.131.15

Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.

Note: See TracTickets for help on using tickets.