How do we add vertical scrollbar to a v-list
component inside a full-height
container? Having spent the better part of the day trying different things, the v-list
still overflows and page becomes larger than the viewport, which isn't what I want. I'm simply trying to create a full-screen 2-columns layout. The left column will show a list of options, which could be several hundreds (hence should be scrollable), whereas the right column will show GMaps.
<v-app>
<v-app-bar app>
<v-toolbar-title class="headline text-uppercase">
<span>Company Name</span>
</v-toolbar-title>
</v-app-bar>
<v-content>
<v-layout row fill-height>
<v-flex xs4 fill-height>
<v-list three-line>
...
</v-list>
</v-flex>
<v-flex xs8>
<GmapMap />
</v-flex>
</v-layout>
</v-content>
</v-app>
I have tried several combinations of fill-height
, v-container
and d-flex
etc. with these layout nodes, but it always overflows beyond viewport height. I also recall that I have achieved this in the past without doing any custom css or js, just through built-in vuetify constructs.