You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only the v-card-text part is supposed to be scrollable when using scrollable: true, instead the whole card gets a scrollbar and v-card-title + v-card-actions are not visible at all times like they're supposed to be
I think it is because the whole card is wrapped in <div class="v-dialog-wrapper">...<div> similar issue described here, and the answer is that v-dialog scrollable needs a specific structure vuetifyjs/vuetify#3713 (comment)
I'm using $dialog.showAndWait(Component, { ... })
My component:
<template>
<v-card outlined>
<v-card-title>
Are you sure?
</v-card-title>
<v-divider />
<v-card-text>
... content that needs a scrollbar ...
</v-card-text>
<v-divider />
<v-card-actions>
<v-btn
text
@click="$emit('submit', false)"
>
Close
</v-btn>
<v-spacer />
<v-btn
color="primary"
text
@click="$emit('submit', true)"
>
Confirm
</v-btn>
</v-card-actions>
</v-card>
</template>
<script>
export default {
layout: [
'default',
{
width: 800,
scrollable: true,
showClose: false
}
]
}
</script>
The text was updated successfully, but these errors were encountered:
Scrollable dialog is not working as it should
Only the
v-card-text
part is supposed to be scrollable when usingscrollable: true
, instead the whole card gets a scrollbar andv-card-title
+v-card-actions
are not visible at all times like they're supposed to beI think it is because the whole card is wrapped in
<div class="v-dialog-wrapper">...<div>
similar issue described here, and the answer is that v-dialog scrollable needs a specific structurevuetifyjs/vuetify#3713 (comment)
I'm using
$dialog.showAndWait(Component, { ... })
My component:
The text was updated successfully, but these errors were encountered: