Open BlackYuzia opened 2 years ago
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
Cheers
Same issue here. Nuxt 3 and Vuetify 3.0.0-beta.5. Similar issue if I tried replacing it with a v-toolbar instead (except v-toolbar starts bigger then contracts). Even without a drawer, it still starts each reload in the small state before expanding to the full width of the screen once the page is fully loaded.
Using a card as a workaround for now.
This is the workaround I made using layouts
inside your template v-app v-if="!loading" etc...
<v-app-bar style="width: 100%">
Is what I use as a workaround
Workaround for height collapsing:
<template>
<div>
<v-app>
<v-app-bar ... style="width: 100%">
...
</v-app-bar>
<v-fade-transition leave-absolute>
<div v-if="isExtraSpaceAdded" style="height: 48px" />
</v-fade-transition>
...
</v-app>
</div>
</template>
<script setup>
const isExtraSpaceAdded = ref(true)
onMounted(() => {
isExtraSpaceAdded.value = false
})
</script>
height: 48px
is a heigth value of the v-app-bar
.
Hope this bug will be fixed soon.
Nice, thanks for this
On Mon, Dec 19, 2022, at 12:40 PM, cheetamaru wrote:
Workaround for height collapsing:
... ...
heigth: 48px
is a heigth value of thev-app-bar
.Hope this bug will be fixed soon.
— Reply to this email directly, view it on GitHub https://github.com/vuetifyjs/vuetify/issues/15202#issuecomment-1358085661, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANUNXNSED66I4FXQCMFBDATWOCT3BANCNFSM5XX6XE4Q. You are receiving this because you commented.Message ID: @.***>
Still waiting ... @cheetamaru workaround is working, but it is a hack ...
This bug is resolved as of the latest version.
If you have any questions, please reach out to us in our Discord community.
again and again and again? :eyes:
This is still blocked by https://github.com/vuejs/core/pull/6095
I have the same issue working on nuxt@3.6.3 and vuetify@3.3.8 Is there any workaround?
I have the same issue working on nuxt@3.6.3 and vuetify@3.3.8 Is there any workaround?
try using <client></client>
If you're wrapping the whole page in <client>
you might as well just disable ssr entirely.
For you can simply set following styles on VMain
to overcome this issue:
<VApp
<VAppBar>
... your content here
</VAppBar>
<VMain
style="
--v-layout-left: 0px;
--v-layout-right: 0px;
--v-layout-top: 64px;
--v-layout-bottom: 44px;
"
>
... your content here
</VMain>
</VApp>
This should be better on newer versions, but we're still waiting on upstream.
https://github.com/vuejs/core/pull/7290 is released in vue 3.4 rc.1 Maybe it can be fixed now?
Mh i tried it with vue 3.4.0 rc3 but still weird rendering https://stackblitz.com/edit/github-wudebh-ppjcxg?file=plugins%2Fvuetify.ts
@devonik https://github.com/vuetifyjs/vuetify/pull/15229 has not been merged
ui thanks there are so many issues regarding this. Must be a good feeling to able to finish them all
Any news for this ?
Working on it. Since we use TSX, Vue 3.4 requires changes on our end.
This bug is still exist
Please create a new issue. https://issues.vuetifyjs.com/
Please create a new issue. https://issues.vuetifyjs.com/
Can't do this
On 3.7 - this bug exists
Suspense is still broken, we had to revert #15229.
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
/
pageExpected 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: