refac: onScroll -> IntersectionObserver for infinite scroll

This commit is contained in:
Timothy J. Baek
2024-08-04 15:58:36 +02:00
parent 389d650ee3
commit 4441338574
2 changed files with 56 additions and 36 deletions
+1
View File
@@ -41,6 +41,7 @@ export const showSettings = writable(false);
export const showArchivedChats = writable(false);
export const showChangelog = writable(false);
export const showCallOverlay = writable(false);
export const scrollPaginationEnabled = writable(true);
export const pageSkip = writable(0);
export const pageLimit = writable(-1);