attempt to fix scroll behavior

This commit is contained in:
Hayden 2023-01-01 12:46:59 -09:00
parent 59ebf0af73
commit 7c240a563b
No known key found for this signature in database
GPG key ID: 17CF79474E257545
5 changed files with 7 additions and 18 deletions

View file

@ -39,8 +39,6 @@
const hasNext = computed(() => page.value * pageSize.value < total.value);
const hasPrev = computed(() => page.value > 1);
const itemsTitle = ref<HTMLDivElement>();
function prev() {
page.value = Math.max(1, page.value - 1);
}