Skip to content

[Bug Report][3.4.9] Hydration style mismatch VNavigationDrawer and VAppBar together #19015

@migueabellan

Description

@migueabellan

Environment

Vuetify Version: 3.4.9
Vue Version: 3.4.7
Browsers: Chrome 117.0.0.0
OS: Linux x86_64

Steps to reproduce

1.- Follow instructions exactly from https://vuetifyjs.com/en/getting-started/installation/#using-nuxt-3
2.- Add ssr on plugin createVuetify({ ssr: true })
3.- Add minimal code on app.vue with VNavigationDrawer and VAppBar together

<template>
  <v-layout>
    <v-navigation-drawer />
    <v-app-bar />
    <v-main />
  </v-layout>
</template>

Expected Behavior

There should be no vue warns

Actual Behavior

There are mismatch vue warns

[Vue warn]: Hydration style mismatch on <header class=​"v-toolbar v-toolbar--density-default v-theme--light v-locale--is-ltr v-app-bar" style=​"top:​ 0px;​ z-index:​ 1004;​ transform:​ translateY(0%)​;​ position:​ fixed;​ left:​ 0px;​ width:​ calc((100% - 0px)​ - 0px)​;​">​…​​flex

rendered on server: style="[object Map]"
expected on client: style="[object Map]"

Reproduction Link

https://stackblitz.com/edit/nuxt-starter-wtdujy

Other comments

Only occur using VNavigationDrawer and VAppBar together

Metadata

Metadata

Assignees

Labels

C: VAppBarC: VNavigationDrawerT: bugFunctionality that does not work as intended/expectedupstreamProblem with a third party library that we may have to work around

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions