luis-almeida / unveil

A very lightweight jQuery plugin to lazy load images
4.15k stars 675 forks source link

Unveil Isotope elements when they come into view #85

Closed cfxd closed 9 years ago

cfxd commented 9 years ago

I'm using Isotope and I want my images to unveil, which works fine if someone scrolls down to the bottom of the Isotope element. However, if you only view the top row and click a filter—for example, a filter that hides every row except the bottom row which has not yet been unveiled—then the unveiled elements jump to the top but do not unveil until the viewport is scrolled.

Fiddle: http://jsfiddle.net/silb3r/njnf86L6/2/

Any way to ensure Isotope elements get unveiled when they become visible by filtering?

cfxd commented 9 years ago

Solved: http://jsfiddle.net/silb3r/njnf86L6/3/