Opened 11 years ago
Last modified 4 years ago
#10077 assigned defect
dojox.fx.wipeTo Cannot Wipe to 0 width
Reported by: | ole | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.15 |
Component: | fx | Version: | 1.3.2 |
Keywords: | Cc: | [email protected]… | |
Blocked By: | Blocking: |
Description
This does not work:
var currentNodeWipeOutParameters =
{ node: "currentNode", height: 100, width: 0, duration: 300
};
var currentNodeWipeOutAnimation =
dojox.fx.wipeTo(
currentNodeWipeOutParameters);
But this does:
var currentNodeWipeOutParameters =
{ node: "currentNode", height: 100, width: 1, duration: 300
};
var currentNodeWipeOutAnimation =
dojox.fx.wipeTo(
currentNodeWipeOutParameters);
Applied to this node:
<div id="currentNode"
style=" background-color: black;
top: 200px; left: 100px; width: 100px; height: 100px; position: absolute;">
</div>
Change History (13)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Component: | General → fx |
---|---|
Owner: | changed from anonymous to Bryan Forbes |
comment:3 Changed 11 years ago by
Owner: | changed from Bryan Forbes to dante |
---|
I'm dojox.fx, not sure if the "fx" label in trac is assigning these to Bryan or not, but it is in fact me. (nic also does a bit of the fx work these days, too)
comment:5 Changed 11 years ago by
Milestone: | tbd → 1.5 |
---|
not seeing why this is apparently. need to dig.
comment:6 Changed 11 years ago by
Seems like a division by 0 somewhere...I'm looking as well, but it's a tricky baggar.
comment:7 Changed 11 years ago by
1 instead of | 0 |
comment:8 Changed 11 years ago by
A chimp could probably provide more insight than me on that (I still write better tests than a chimp though), but when I wipe to 0 height it works great, so +1 from me.
I noticed that the final state when wiping to 0 height is what one would expect (The final height is 0px and display is block), so I assume the display is set to none temporarily while the height is set to 0 and then set back to what it was originally?
comment:9 Changed 11 years ago by
Milestone: | 1.5 → 1.6 |
---|
comment:10 Changed 10 years ago by
Milestone: | 1.6 → future |
---|
comment:11 Changed 5 years ago by
Milestone: | future → 1.12 |
---|
comment:12 Changed 5 years ago by
Owner: | dante deleted |
---|---|
Status: | new → assigned |
comment:13 Changed 4 years ago by
Milestone: | 1.13 → 1.15 |
---|
Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.
exact dup of #10078