mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix empty blocks due to virtualization in rare cases (#4207)
This commit is contained in:
parent
01f7328714
commit
b9314889d7
@ -48,7 +48,7 @@ const RenderIfVisible: React.FC<Props> = (props) => {
|
||||
// } else {
|
||||
// setShouldVisible(entries[0].isIntersecting);
|
||||
// }
|
||||
setShouldVisible(entries[0].isIntersecting);
|
||||
setShouldVisible(entries[entries.length - 1].isIntersecting);
|
||||
},
|
||||
{
|
||||
root: root?.current,
|
||||
|
Loading…
Reference in New Issue
Block a user