Skip to content

Commit 1d560cf

Browse files
committed
Merge #299 [V32] Fix jumping files list
2 parents 4f839ee + 02a26bf commit 1d560cf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/files/src/components/VirtualList.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export default defineComponent({
157157
itemHeight() {
158158
// Align with css in FilesListVirtual
159159
// 166px + 32px (name) + 16px (mtime) + 16px (padding top and bottom)
160-
return this.gridMode ? (166 + 32 + 16 + 16 + 16) : 44
160+
return this.gridMode ? (166 + 32 + 16 + 16 + 16) : 68
161161
},
162162
163163
// Grid mode only
@@ -320,6 +320,8 @@ export default defineComponent({
320320
321321
methods: {
322322
scrollTo(index: number) {
323+
return
324+
323325
if (!this.$el || this.index === index) {
324326
return
325327
}

0 commit comments

Comments
 (0)