mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
Merge branch 'master' into master
This commit is contained in:
@@ -72,9 +72,6 @@ export function VirtualScroll<T = unknown>({ className, classNames, minItemWidth
|
||||
|
||||
const { scrollDirection, scrollOffset, scrollUpdateWasRequested } = e;
|
||||
const { scrollHeight } = listRef.current;
|
||||
|
||||
if(!scrollHeight || !listHeight){ return; }
|
||||
|
||||
const margin = scrollEnd.margin ?? 0;
|
||||
|
||||
if (scrollDirection === "forward" && !scrollUpdateWasRequested && scrollOffset + listHeight + margin >= scrollHeight) {
|
||||
|
||||
Reference in New Issue
Block a user