1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-04 00:18:01 +01:00

feat: initial scroll trigger (#4036)

This commit is contained in:
Mateusz Kwasniewski 2023-06-21 15:37:04 +02:00 committed by GitHub
parent 02ca60511f
commit 91f1072519
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,7 @@ export const useVirtualizedRange = (
);
});
};
handleScroll();
parent.addEventListener('scroll', handleScroll, { passive: true });
return () => {