In CSS2Properties of css.js , the setProperty method stores updated CSS properties in the styleIndex variable, but that object is shared between multiple (all?) nodes.
So when a CSS property is dynamically updated in one node, it also changes in all other nodes.
In CSS2Properties of css.js , the setProperty method stores updated CSS properties in the styleIndex variable, but that object is shared between multiple (all?) nodes.
So when a CSS property is dynamically updated in one node, it also changes in all other nodes.
One way to fix is is by storing all changed properties in a separate variable, see https://github.com/orslumen/env-js/commit/aa0318d4a4bf88eaf03282b9f4075dbc86c8b323