mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2024-11-24 10:25:47 +03:00
perf(add-torrent): Use scrollable dialog instead of manual infinite scroll (#1442)
This commit is contained in:
parent
b261d1547a
commit
7288861515
1 changed files with 217 additions and 220 deletions
|
@ -181,6 +181,7 @@ const onCategoryChanged = () => {
|
|||
v-model="isOpened"
|
||||
:class="$vuetify.display.mobile ? '' : 'w-75'"
|
||||
:fullscreen="$vuetify.display.mobile"
|
||||
scrollable
|
||||
:transition="openSuddenly ? 'none' : 'dialog-bottom-transition'">
|
||||
<v-card>
|
||||
<v-card-title>
|
||||
|
@ -190,7 +191,6 @@ const onCategoryChanged = () => {
|
|||
</v-toolbar>
|
||||
</v-card-title>
|
||||
|
||||
<v-infinite-scroll mode="manual">
|
||||
<v-card-text>
|
||||
<v-row>
|
||||
<v-col cols="12">
|
||||
|
@ -418,9 +418,6 @@ const onCategoryChanged = () => {
|
|||
</v-row>
|
||||
</v-card-text>
|
||||
|
||||
<template v-slot:load-more></template>
|
||||
</v-infinite-scroll>
|
||||
|
||||
<v-card-actions class="mb-2">
|
||||
<v-btn :text="$t('dialogs.add.resetForm')" color="error" variant="flat" @click="addTorrentStore.resetForm()" />
|
||||
<v-spacer />
|
||||
|
|
Loading…
Reference in a new issue