Branch: refs/heads/master
Home: https://github.com/cytoscape/cytoscape.js
Commit: 0fe48f9711fb4d2ec7d44b059cf92f898f3c2b65
https://github.com/cytoscape/cytoscape.js/commit/0fe48f9711fb4d2ec7d44b059cf92f898f3c2b65
Author: Max Franz <[email protected]>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M src/core/animation/step-all.js
Log Message:
-----------
Allow animations to run for display:none elements.
If a `layoutPositions()` animation is cancelled for a `display:none` node, then
its animation promise will not resolve. That prevents `layoutstop` from being
emitted. While it doesn't provide much value to animate the style properties
of an element when it's invisible, it may make sense for some use cases to
animate its position. Allowing animations on invisible elements also has the
benefit of resolving this issue in a simple way.
The downside is that you lose some performance when you ask the library to
animate invisible elements to no visual effect (#1522). Then again, you get
exactly what you ask for.
Refs. : layoutstop event not triggered when a node is not displayed #2693
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/cytoscape-cvs/cytoscape/cytoscape.js/push/refs/heads/master/f39aba-0fe48f%40github.com.