naver / egjs-infinitegrid

A module used to arrange card elements including content infinitely on a grid layout.
https://naver.github.io/egjs-infinitegrid/
MIT License
2.21k stars 96 forks source link

DOM not recycled #547

Open neckaros opened 1 year ago

neckaros commented 1 year ago

Description

I'm using MasonryInfiniteGrid in Svelte

When scrolling i can sill see all the cards in the dom without any recycling. Where is the screenshot of what the DOM look like image

i'm not sure how recycling is working and calculating what is currently visible?

Steps to check or reproduce

Version: 4.9.0 & 4.10.1

Here is my svelte code: image

daybrush commented 1 year ago

@neckaros

recycle works in groups. Have you set up a groupkey? Basically, it is judged by item.groupKey.