You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SSR Hydration mismatch with HeadlessUI starting in 3.4.x #10000
Run the project and look at the console. I originally found this when working in an Astro project but recreated it in a standalone Vite SSR template as a minimal repro.
What is expected?
No hydration issue
What is actually happening?
The rendered id for the disclosure button is increasing by 2 every time but the expected always stays at 1
changed the title [-]Hydration mismatch with HeadlessUI starting in 3.4.x[/-][+]SSR Hydration mismatch with HeadlessUI starting in 3.4.x[/+]on Jan 4, 2024
Activity
[-]Hydration mismatch with HeadlessUI starting in 3.4.x[/-][+]SSR Hydration mismatch with HeadlessUI starting in 3.4.x[/+]paro-paro commentedon Jan 4, 2024
I believe the same hydration issue is affecting vuetify => issue
Here is a reproduction which includes both an attribute and style mismatch on Nuxt SSR starting on vue >= v3.4.0
edison1105 commentedon Jan 5, 2024
@paro-paro

The
valueattribute is added to thetextareabecause of this line:https://github.com/vuetifyjs/vuetify/blob/9e4daa81bfe3046fcf7e4a731809c3d554b3df54/packages/vuetify/src/components/VTextarea/VTextarea.tsx#L229
The value attribute of the textarea should be ignored
fix(hydration): avoid hydration mismatch warning for styles with diff…