Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hydration style mismatch #10317

Closed
ilovedingle opened this issue Feb 11, 2024 · 1 comment
Closed

Hydration style mismatch #10317

ilovedingle opened this issue Feb 11, 2024 · 1 comment
Labels

Comments

@ilovedingle
Copy link

Vue version

3.4.18

Link to minimal reproduction

https://play.vuejs.org/#__SSR__eNqNUk1vEzEQ/SuWL01QdzchHNCSVgVUCTgAAo572diTxK2/ZM/uBkX574y9JKQBVdzG897Mm3mePX/rfdl3wGu+jCIojywCdv62scp4F5DtWYA1O7B1cIZdEfWqscLZiGxQErfsJuGT+Ww2beyyGntQNT0QjNctAr0YW0rV52AMmdBtjDcNp1bYKguh4SziTw2U862Uym5q9nLmdw2//QBaOza4oOWyOvY5RsvqTIeeuQmLwnmQlClPAmyfyoTTLtRs2CqENymxasXjJrjOyuI3FkBmJO9XM9FqMemLlbJyklNT9oLN/W5KpEPeOSmSFL/mSLp2rTblQ3SWPM2SaUnjlYbwxaMi6xpej8MkrKXdhk85h6GD62NebEE8/iP/EMmSmoKvASKEHhp+wrANG8ARvv/+GXYUn0DjZKeJ/Qz4DaLTXZpxpL0jV2jsM16e9mO+DPqhH/F+h2Djcak0aGIeMr/hdC3vn1n9z7iLcpHryFFycby8wrT+wscReNqENMZht4g+1lUlpKUyCVr1obSAlfWmuiNaFTqLykAhnblblK/K+Wu6oYjn+RKiKVbBDWQtdTnbPDXIfocigJUQki//p3tR9kT7AvtL/2TL4RcknD4S

Steps to reproduce

You get this error when you use a v-bind inside the style tag and at the same time assign a value to the style attribute to a nested element, if is the main element that has the attribute this error won't occur.
SSR should be enabled.

What is expected?

This error should not occur like when it is the main element that has the style attribute

What is actually happening?

You get this error when any element that is not the main element has the style attribute

System Info

No response

Any additional comments?

No response

@yyx990803
Copy link
Member

yyx990803 commented Feb 13, 2024

This is a regression caused by #10250 (3.4.16+)

@github-actions github-actions bot locked and limited conversation to collaborators Feb 28, 2024
lynxlangya pushed a commit to lynxlangya/core that referenced this issue May 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants