vuetify-tabs

Vuetify Tabs change active when scroll

自闭症网瘾萝莉.ら 提交于 2020-04-30 11:46:46
问题 I've vuetify tabs implemented with vue-scrollto that when you click a tab it will scroll to a position. <v-tabs centered grow color="#009EE2" > <div class="slider-background" /> <v-tabs-slider /> <v-tooltip bottom v-for="(tab, key) in tabs" :key="key" color="#009EE2" > <template v-slot:activator="{on}"> <v-tab v-on="on" v-scroll-to="{ el: tab.scrollTo, container: scrollContainer, duration: 300, easing: 'linear', offset: -120, force: true, cancelable:true }" > <v-icon v-text="tab.icon" /> </v

Vuetify Tabs change active when scroll

断了今生、忘了曾经 提交于 2020-04-30 11:44:05
问题 I've vuetify tabs implemented with vue-scrollto that when you click a tab it will scroll to a position. <v-tabs centered grow color="#009EE2" > <div class="slider-background" /> <v-tabs-slider /> <v-tooltip bottom v-for="(tab, key) in tabs" :key="key" color="#009EE2" > <template v-slot:activator="{on}"> <v-tab v-on="on" v-scroll-to="{ el: tab.scrollTo, container: scrollContainer, duration: 300, easing: 'linear', offset: -120, force: true, cancelable:true }" > <v-icon v-text="tab.icon" /> </v