perf(add-torrent): Use scrollable dialog instead of manual infinite scroll (#1442)

This commit is contained in:
Rémi Marseault 2024-01-05 17:48:13 +01:00 committed by GitHub
parent b261d1547a
commit 7288861515
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 />