Context
I found this question while trying to solve the same problem as @a--m did but their solution does not respect a single source of truth principle. If v-tabs
height changes in the future Vuetify versions, the layout will stop working as expected, and calc()
will be needed to be rewritten. Logically, our tab items should know nothing about header height.
Moreover, v-tab-item
should not be inside v-tabs
but in a separate v-tabs-items
component.
My solution
Generally it is not a Vuetify issue but a pure CSS problem. It can be solved just with flexboxes and overflow
property, even when the parent height is computed.
Please see my answer in more specialized thread and the adapted JSFiddle example with v-tabs
.
The only difference in this specific case is a need to use !important
modifier when you set overflow: auto
on v-tabs-items
.