You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I add a custom style to an element with JS like node.style.transform = "rotate(" + (Math.floor(Math.random() * 20) - 10).toString() + "deg)";
and then do an action that animates the grid, the previous rotation is lost.
I guess this is due to the fact, that the animation mechanism uses transform for itself and just overwrites everything that was there before.
Is it possible to keep all previously defined styles and only add the transforms for the animation of the grid?
The text was updated successfully, but these errors were encountered:
When I add a custom style to an element with JS like
node.style.transform = "rotate(" + (Math.floor(Math.random() * 20) - 10).toString() + "deg)";
and then do an action that animates the grid, the previous rotation is lost.
I guess this is due to the fact, that the animation mechanism uses transform for itself and just overwrites everything that was there before.
Is it possible to keep all previously defined styles and only add the transforms for the animation of the grid?
The text was updated successfully, but these errors were encountered: