0👍
✅
I’ve managed to do this using d-flex, overflow and ditching the vuetify layout and just using divs instead. It feels to me like a hack and not like the way it’s supposed to be done, but I have not yet found a better solution. Kinda seems that the bootsrap style layout doesn’t support stretching and shrinking of items, which is very disappointing.
<v-card height="80vh" class="d-flex">
<v-container class="d-flex flex-column" fluid>
<div>
Files
</div>
<v-simple-table fixed-header class="d-flex flex-column" style="overflow-y: hidden">
<template v-slot:default>
<thead>
<tr>
<th class="text-left">Name</th>
</tr>
</thead>
<tbody style="overflow-y: scroll">
<tr v-for="file in files" :key="file.name" @click="select(file)">
<td v-ripple>
<v-icon>{{ file.directory ? "mdi-folder-outline" : "mdi-file" }}</v-icon>
{{ file.name }}
</td>
</tr>
</tbody>
</template>
</v-simple-table>
</v-container>
</v-card>
Source:stackexchange.com