We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c747090 + 35c21f1 commit b0ac3c9Copy full SHA for b0ac3c9
lib/components/FilePicker/FileList.vue
@@ -201,7 +201,7 @@ const fileContainer = ref<HTMLDivElement>()
201
}
202
203
// container height - 50px table header / row height of 50px
204
- skeletonNumber.value = Math.floor((height - 50) / 50)
+ skeletonNumber.value = Math.max(1, Math.floor((height - 50) / 50))
205
})
206
onMounted(() => {
207
window.addEventListener('resize', resize)
0 commit comments