effects slide_in/out sometimes break resizing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
High
|
Unassigned |
Bug Description
After using slide_in the height of the node is set to 0. Subsequently using slide_in the scrollHeight must be obtained. In some situations the node incorrectly reports a scrollHeight of 0 and thus cannot open properly.
A solution was suggested by Thomas Herve in
http://
The following needs to be added to incorporated into add_slide_
For slide_in:
anim.
});
});
anim.on("end", function() {
height: 0,
});
});
For slide_out:
anim.
// Set the node to 'visible' for the beginning of the animation.
});
});
anim.on("end", function() {
// Change the height to auto when the animation completes.
height: 'auto'
});
});
Changed in lazr-js: | |
assignee: | nobody → Launchpad Yellow Squad (yellow) |
status: | New → Confirmed |
affects: | lazr-js → launchpad |
Changed in launchpad: | |
assignee: | Yellow Squad (yellow) → nobody |
Updated metadata per https:/ /dev.launchpad. net/BugTriage# How to triage