Angrycreative / bj-lazy-load

WordPress plugin for lazy loading
GNU General Public License v2.0
40 stars 25 forks source link

Problems with moving divs around #9

Closed emumanu closed 5 years ago

emumanu commented 9 years ago

Hello,

first thank you for this great plugin. I have a page with a lot of divs, and each one has an image. If the divs don't change their positions, everything works ok. However, I have a dropdown to filter the items to show, and when I select a filter, the divs change their position, and some times the images don't get displayed.

Probably that repositioning makes the sonar stuff to fail. Is there anything I could do to have your plugin working in that scenario?

Thank you

jan-san commented 5 years ago

This was addressed in b360afdc7517e969f72e180a423bdfe4ad2bb971 - the plugin now checks for newly visible images continuously (even when there was no scrolling), so the images in the moved divs will be picked up now.