mirror of
https://github.com/makeplane/plane.git
synced 2026-04-30 04:59:41 -05:00
fix empty blocks due to virtualization in rare cases (#4207)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user