fix?
This commit is contained in:
parent
08ae09a871
commit
de90b25561
@ -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 New Issue
Block a user