vuetify: [Bug Report][3.0.0] V-App-Bar Collapse On Reload Page
Environment
Vuetify Version: 3.0.0-beta.3 Vue Version: 3.2.36 Browsers: Chrome 102.0.0.0 OS: Windows 10
Steps to reproduce
- You should run server (npm install && npm run dev OR npm install && npm run build && npm run start)
- Open
/page - Reload page
- Look at app bar
- Bar collapse for a few seconds (in run dev mode this collapse a bit longer)
Expected Behavior
App bar didn’t collapse or something, duo page reload
Actual Behavior
Bar collapse on every page reload. After a few seconds, bar return to valid position. If you disable javascript, app bar didn’t return to required position.
Reproduction Link
https://gitlab.com/BlackYuzia/nuxt-vuetify
Screenshots
Collapse example:

Un Collapsed after a few seconds:

About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 12
- Comments: 22 (8 by maintainers)
Commits related to this issue
- fix(layout): use suspense to delay render of layout items closes #15202 — committed to vuetifyjs/vuetify by nekosaur 2 years ago
- fix(layout): use suspense to delay render of layout items closes #15202 — committed to vuetifyjs/vuetify by nekosaur 2 years ago
Working on it. Since we use TSX, Vue 3.4 requires changes on our end.
This should be better on newer versions, but we’re still waiting on upstream.
This is the workaround I made using layouts
inside your template v-app v-if=“!loading” etc…
<script setup> const loading = ref(true) onMounted(() => { loading.value = false }) </script>Any news for this ?
If you’re wrapping the whole page in
<client>you might as well just disable ssr entirely.try using
<client></client>This is still blocked by https://github.com/vuejs/core/pull/6095
We have the same bug
Link: https://bitsong.studio Repo: https://github.com/bitsongofficial/studio
https://github.com/vuetifyjs/vuetify/assets/1754055/33e7a6a2-59ec-489b-af17-e10e77a22644
https://github.com/vuejs/core/pull/7290 is released in vue 3.4 rc.1 Maybe it can be fixed now?
Still waiting … @cheetamaru workaround is working, but it is a hack …
Workaround for height collapsing:
height: 48pxis a heigth value of thev-app-bar.Hope this bug will be fixed soon.
I have the same issue working on Nuxt 3 and Vuetify 3.0.0-beta.3 Is there any workaround ? I tried to use the <Suspense> but it’s not working in Nuxt, I tried in layouts and App.vue as well
Cheers