Vuetify #3026
-
Hello! I'm trying to get a Vuetify app bar to be a dragable titlebar but this doesn't seem to work when you add the data-tauri-drag-region tag to the element it is not draggable, anyone got any ideas? Thanks! :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
What does your code look like ? Also open the dev tools and check if attribute is applied to the final HTML correctly. |
Beta Was this translation helpful? Give feedback.
-
So, for the app bar i have this (Minimal example) <template>
<v-app-bar data-tauri-drag-region flat dense app style="background: linear-gradient(to bottom, #9c1483, #c31432); user-select: none;">
</v-app-bar>
</template> I've checked with inspect and the attribute does exist on the header element <header class="v-sheet theme--dark v-toolbar v-toolbar--dense v-toolbar--flat v-app-bar v-app-bar--fixed" data-booted="true" data-tauri-drag-region="" style="height: 48px; margin-top: 0px; transform: translateY(0px); left: 0px; right: 0px; background: linear-gradient(rgb(156, 20, 131), rgb(195, 20, 50)); user-select: none;"></header> |
Beta Was this translation helpful? Give feedback.
So, for the app bar i have this (Minimal example)
I've checked with inspect and the attribute does exist on the header element