This commit is contained in:
tamaina 2022-02-03 04:05:21 +09:00
parent 08ae09a871
commit de90b25561

View file

@ -130,7 +130,7 @@ const observer = new IntersectionObserver(entries => {
}
});
watch([items, $$(itemsContainer)], observeLatestElement);
watch([items, $$(itemsContainer), $$(rootEl)], observeLatestElement);
function observeLatestElement() {
observer.disconnect();