demo: changes to support duration-property changes

[#79814322]