I'm having a problem with v-slide-group, sometimes I have 2~3 items and sometimes I have 10 items or more, but with fewer items it doesn't show the arrows neither the slide-items are centered Here is my HTML:
<div id="app">
<v-app id="inspire">
<v-sheet
elevation="8"
class="mx-auto mt-10"
max-width="700"
>
<v-slide-group
multiple
show-arrows
>
<v-slide-item
v-for="n in 25"
:key="n"
v-slot="{ active, toggle }"
>
<v-btn
class="mx-2"
:input-value="active"
active-class="purple white--text"
depressed
rounded
@click="toggle"
>
Options {{ n }}
</v-btn>
</v-slide-item>
</v-slide-group>
<v-slide-group
multiple
show-arrows
>
<v-slide-item
v-for="n in 3"
:key="n"
v-slot="{ active, toggle }"
>
<v-btn
class="mx-2"
:input-value="active"
active-class="purple white--text"
depressed
rounded
@click="toggle"
>
Options {{ n }}
</v-btn>
</v-slide-item>
</v-slide-group>
</v-sheet>
</v-app>
</div>
and here is my JS:
new Vue({
el: '#app',
vuetify: new Vuetify(),
data: () => ({
model: null,
}),
methods:{
}
})
I also made this codepen: https://codepen.io/mastergoshi/pen/rNwYJGz
How can I at least center the slide items from the second slide-group? Even better would be to show the arrows as well with the slide-items centered
Thank you very much!