fix?
This commit is contained in:
parent
08ae09a871
commit
de90b25561
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ const observer = new IntersectionObserver(entries => {
|
|||
}
|
||||
});
|
||||
|
||||
watch([items, $$(itemsContainer)], observeLatestElement);
|
||||
watch([items, $$(itemsContainer), $$(rootEl)], observeLatestElement);
|
||||
|
||||
function observeLatestElement() {
|
||||
observer.disconnect();
|
||||
|
|
Loading…
Reference in a new issue