RFR: 8311895: CSS Transitions [v17]

Michael Strauß mstrauss at openjdk.org
Sat May 25 21:16:07 UTC 2024


On Sat, 25 May 2024 19:39:12 GMT, Nir Lisker <nlisker at openjdk.org> wrote:

> I still don't know what happens when a value is programmatically set while a css transition is in progress. What I understood is that binding the property will not allow the transition to start/continue, but didn't see where setting a value was mentioned.

Any of the following actions will cancel a running transition:
1. Setting the property value
2. Binding the property
3. Making the node invisible (i.e. `isTreeVisible()` returns false)
4. Removing the node from the scene graph

In effect, transitions are only active when "left alone", any programmatic interaction will cancel them.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/870#issuecomment-2131459204


More information about the openjfx-dev mailing list