Disarm a driven panel — at once, and back to the state a fresh mount would be in. Both halves are
what an unmount gave the auto-start panel for free:
at once: work that outlasted the reveal delay is on screen when it ends. Simply dropping the
class would transition BACK through that delay, leaving the panel up for another second after its
operation finished; parking it in animating-idle (no transition) snaps it away instead.
fresh: the next operation gets its own countdown. Without that, back-to-back operations
inherit an elapsed delay and the panel appears instantly on work that should have been silent.
Costs no forced layout, so it is safe in the same task the work ended in — which it must be:
anything that lets a frame paint first shows the panel after its operation.
Disarm a driven panel — at once, and back to the state a fresh mount would be in. Both halves are what an unmount gave the auto-start panel for free:
animating-idle(no transition) snaps it away instead.Costs no forced layout, so it is safe in the same task the work ended in — which it must be: anything that lets a frame paint first shows the panel after its operation.