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 #10215

Closed
ilovedingle opened this issue Jan 25, 2024 · 0 comments · Fixed by #10250
Closed

Hydration style mismatch #10215

ilovedingle opened this issue Jan 25, 2024 · 0 comments · Fixed by #10250

Comments

@ilovedingle
Copy link

ilovedingle commented Jan 25, 2024

Vue version

3.4.15

Link to minimal reproduction

https://play.vuejs.org/#__SSR__eNqNUk1v00AQ/SsrC6mJFNuNAheTRAXUAxwAAUcfansnzrb7pd2xkyryf2d23YQ0QNWTPW/eznvzdg/JB2uzvoOkSJa+ccIik5VuV2WCvkyYB+zsutRCWeOQHZiDzYw1RtkOgbOBbZxR7IoGXJW61I3RHlnFVoE3mU+PSE3I8dBkMmWrNbt7c6iyvpIdDHZ/R8xlPuqTGhUIysoKgSrGllz0rJGV9+Qrfsla4fFRAgGHoUzWy5w4I1lo0mF9qgwHSf2KyPhoA1V3qgZHdU7UZX4mQmWcx3xjLHBCsijEDmHmTnDcFjSzFppP6un7AG5BtFss2Pz62u4jUlfNQ+tMp3naGGlcQTFw6gxxuzCe5iazZEwzVZXN7r3RlH1UKZ8atF0x6gaMsg11mWwRrS/yvOGajtFuoneZBsy1VfkN0XLXaRQKUm7UzSJ7m83fUSoez/EMvEprZ3YeHE0pk9mZTk5gDy51oDm4ENTrdC+OPdO+6P2lH+Qpn4FiQcpeb0R7EUp4OEKC+2ZR0Gt6Fk4lpdl9iRi6Dk7LNFtoHv6B3/v9uNR3B9HZWQBYuRZwbN/+/Ap7+j816TF18uki/tP8Ad7ILngcaR/pHZDtM150+znesdDtL3+7R9D+uFQwGtOI/Hghn15Y/Y/dRbY4pTj8BtOXSio=

Steps to reproduce

As soon as you reload the page you get an error "Hydration completed but contains mismatches".

To be clear you get this error when you set a style on the main element and also use a v-bind inside the style.
SSR should be enabled.

What is expected?

There shouldn't be any mismatches error

What is actually happening?

There is a mismatches error

System Info

No response

Any additional comments?

No response

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant