fix: lazy rendering checks (#2130)

pull/2131/head
boojack 2 years ago committed by GitHub
parent e266d88edd
commit 9f8a0a8dd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -101,7 +101,7 @@ const Memo: React.FC<Props> = (props: Props) => {
}
root.addEventListener("scroll", checkShouldRender);
}
}, [lazyRendering]);
}, [lazyRendering, filterStore.state]);
if (!shouldRender) {
// Render a placeholder to occupy the space.

Loading…
Cancel
Save