chore: add TODO for slow devices and long lists

This commit is contained in:
userquin 2023-01-07 19:10:52 +01:00
parent 5893cf1a6e
commit c9d70de38e

View file

@ -104,6 +104,7 @@ export function usePaginator<T>(
if (!loaded.value) if (!loaded.value)
loaded.value = true loaded.value = true
// TODO: apply timeout based in items length: be conservative for long lists on slow devices
timeout.value = setTimeout(() => nuxtApp.$restoreScrollPosition(), 600) timeout.value = setTimeout(() => nuxtApp.$restoreScrollPosition(), 600)
} }
else { else {