forked from Mirrors/elk
chore: add TODO for slow devices and long lists
This commit is contained in:
parent
5893cf1a6e
commit
c9d70de38e
1 changed files with 1 additions and 0 deletions
|
@ -104,6 +104,7 @@ export function usePaginator<T>(
|
|||
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 {
|
||||
|
|
Loading…
Reference in a new issue