From c9d70de38e73b93a18e2c86f88cd8d9cd12d8850 Mon Sep 17 00:00:00 2001 From: userquin Date: Sat, 7 Jan 2023 19:10:52 +0100 Subject: [PATCH] chore: add TODO for slow devices and long lists --- composables/paginator.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/composables/paginator.ts b/composables/paginator.ts index a293f942..a3c09b3f 100644 --- a/composables/paginator.ts +++ b/composables/paginator.ts @@ -104,6 +104,7 @@ export function usePaginator( if (!loaded.value) loaded.value = true + // TODO: apply timeout based in items length: be conservative for long lists on slow devices timeout.value = setTimeout(() => nuxtApp.$restoreScrollPosition(), 600) } else {