fix(ui): avoid offscreen mounts during initial layout
This commit is contained in:
@@ -761,7 +761,7 @@ export default function VirtualFollowList<T>(props: VirtualFollowListProps<T>) {
|
||||
}
|
||||
}}
|
||||
>
|
||||
{props.renderItem(item(), index)}
|
||||
{() => props.renderItem(item(), index)}
|
||||
</VirtualItem>
|
||||
)
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user