-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
[Bug Report][3.0.0] V-App-Bar Collapse On Reload Page #15202
Comments
I have the same issue working on Nuxt 3 and Vuetify 3.0.0-beta.3 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-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>
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:
<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>
`heigth: 48px` is a heigth value of the `v-app-bar`.
Hope this bug will be fixed soon.
—
Reply to this email directly, view it on GitHub <#15202 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ANUNXNSED66I4FXQCMFBDATWOCT3BANCNFSM5XX6XE4Q>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Still waiting ... |
This comment was marked as off-topic.
This comment was marked as off-topic.
This is still blocked by vuejs/core#6095 |
I have the same issue working on nuxt@3.6.3 and vuetify@3.3.8 |
try using |
If you're wrapping the whole page in |
For you can simply set following styles on <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. |
vuejs/core#7290 is released in vue 3.4 rc.1 |
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 |
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. |
We have the same bug Link: https://bitsong.studio vuetify_bug-2024-02-13_16.32.37.mp4 |
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:
The text was updated successfully, but these errors were encountered: