#69 : Add 0th page to loaded

This commit is contained in:
Vadim
2021-09-09 23:35:13 +03:00
parent f830b69bea
commit 2949683d1a
2 changed files with 15 additions and 15 deletions

View File

@@ -281,7 +281,7 @@
await tick()
infinite && addClones()
initPageSizes()
// TODO: validate initialScrollIndex
store.init(getPageIndexByScrollIndex({
@@ -292,6 +292,8 @@
pagesCount,
pagesToShow,
}))
initPageSizes()
}
addResizeEventListener(initPageSizes)