DEV Community

Discussion on: React: Hiding an Element as you Scroll

helloitsm3 profile image
J • Edited on

Will there be any performance issue when setting the opacity to 0 if you are trying to create an infinite list of element to scroll?

lukekyl profile image
Kyle Luke Author

I honestly haven't had the chance to play with infinite scroll on my own yet, but it looks like you may want to use a transformation based on when the scroll function loads more items. See this post on stackoverflow for one solution: Isotope's Masonry Infinite Scroll Solution