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.23k stars 95 forks source link

Using 'e.remove()' on ContentError causes incorrect behavior #482

Closed ruzia closed 2 years ago

ruzia commented 2 years ago

Description

I am trying to remove 404 images from the grid when using JustifiedInfiniteGrid. From the API docs I thought I could call 'e.remove()' on the contentError event, but it didn't work. When I call 'e.remove()', the grid flickers and does not render correctly.

Steps to check or reproduce

https://codepen.io/ruzia/pen/eYVBQdB

daybrush commented 2 years ago

@ruzia

Thank you :). I'll fix it soon.

daybrush commented 2 years ago

@ruzia

InfiniteGrid 4.3.1 is released. Check it again.

ruzia commented 2 years ago

@daybrush Thanks for your quick fix! It's works nice. 🙌