mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2024-11-29 05:28:53 +03:00
fix: remove gesture feature on tabs (buggy anyway)
* Update SettingsModal.vue remove gesture feature on tabs * Update TorrentDetailModal.vue A fatal gesture error occurs in draggable items or horizontal scrolling by the built-in gesture. * fix: remove tab gestures Co-authored-by: Daan Wijns <dw.daanwijns@gmail.com>
This commit is contained in:
parent
e2d4496a2b
commit
0960962441
4 changed files with 4 additions and 12 deletions
|
@ -34,7 +34,7 @@
|
|||
Tags & Categories
|
||||
</v-tab>
|
||||
</v-tabs>
|
||||
<v-tabs-items v-model="tab" :touch="updateTab(tab)">
|
||||
<v-tabs-items v-model="tab" touchless">
|
||||
<v-tab-item value="downloads">
|
||||
<Downloads :is-active="tab === 'downloads'" />
|
||||
</v-tab-item>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
</v-tabs>
|
||||
<v-tabs-items
|
||||
v-model="tab"
|
||||
:touch="updateTab(tab)"
|
||||
touchless
|
||||
>
|
||||
<v-tab-item value="general">
|
||||
<General :is-active="tab === 'downloads'" />
|
||||
|
@ -39,11 +39,6 @@ export default {
|
|||
mixins: [FullScreenModal],
|
||||
data: () => ({
|
||||
tab: null
|
||||
}),
|
||||
methods: {
|
||||
updateTab(tab) {
|
||||
this.tab = tab
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
Tags & Categories
|
||||
</v-tab>
|
||||
</v-tabs>
|
||||
<v-tabs-items v-model="tab" :touch="updateTab(tab)">
|
||||
<v-tabs-items v-model="tab" touchless>
|
||||
<v-tab-item value="info">
|
||||
<info :is-active="tab === 'info'" :hash="hash" />
|
||||
</v-tab-item>
|
||||
|
|
|
@ -15,9 +15,6 @@ export default {
|
|||
methods: {
|
||||
deleteModal() {
|
||||
setTimeout(() => this.$store.commit('DELETE_MODAL', this.guid), 100)
|
||||
},
|
||||
updateTab(tab) {
|
||||
this.tab = tab
|
||||
}
|
||||
},
|
||||
beforeDestroy() {
|
||||
|
|
Loading…
Reference in a new issue