Subscribe on changes!

style attribute is not merge

avatar
Jul 17th 2021

Version

3.2.0-beta.1

Reproduction link

sfc.vuejs.org

Steps to reproduce

This is a problem that has occurred since 3.2.0-beta.1, and will be merged correctly in 3.1.5.

Even if a component sets its own style attribute in the component and the component user also sets its own style attribute, the latter style attribute will not be merged. See minimal reproduction.

I thought this was a breaking change, but since I couldn't find it in CHANGELOG, I thought it was a bug.

What is expected?

Multiple style attributes will be merged.

What is actually happening?

style attribute will be overridden.