Subscribe on changes!

Using arrays in `style` can cause errors in some cases

avatar
Dec 14th 2021

Version

3.2.26

Reproduction link

sfc.vuejs.org/

Steps to reproduce

Delete a div that is not the last div

What is expected?

work well

What is actually happening?

throw an error. Failed to set an indexed property on 'CSSStyleDeclaration': Indexed property setter is not supported.

avatar
Dec 14th 2021

for a static vnode chunk created by the compiler createStaticVNode styles are being merged staticall if the input is an array of objects.

for the none static case(patchStyle) does not have handling logic for array of objects