diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index cc90c447f..dfa2b08c2 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -337,15 +337,6 @@ function handleOnDataSaved(_) { else $props.create.onDataSaved(_); } -function handleScroll() { - if ($props.crudModel.disableInfiniteScroll) return; - - const tMiddle = tableRef.value.$el.querySelector('.q-table__middle'); - const { scrollHeight, scrollTop, clientHeight } = tMiddle; - const isAtBottom = Math.abs(scrollHeight - scrollTop - clientHeight) <= 40; - if (isAtBottom) CrudModelRef.value.vnPaginateRef.paginate(); -} - function handleSelection({ evt, added, rows: selectedRows }, rows) { if (evt?.shiftKey && added) { const rowIndex = selectedRows[0].$index;