mirror of
https://github.com/usememos/memos.git
synced 2025-02-26 14:25:24 +08:00
fix: lazy rendering checks (#2130)
This commit is contained in:
parent
e266d88edd
commit
9f8a0a8dd3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue