Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion apps/files/src/components/VirtualList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export default defineComponent({
itemHeight() {
// Align with css in FilesListVirtual
// 166px + 32px (name) + 16px (mtime) + 16px (padding top and bottom)
return this.gridMode ? (166 + 32 + 16 + 16 + 16) : 44
return this.gridMode ? (166 + 32 + 16 + 16 + 16) : 68
},

// Grid mode only
Expand Down Expand Up @@ -320,6 +320,8 @@ export default defineComponent({

methods: {
scrollTo(index: number) {
return

if (!this.$el || this.index === index) {
return
}
Expand Down