-
Notifications
You must be signed in to change notification settings - Fork 347
Description
I am using a Bootstrap modal dialog to display a list of thumbnail that I am trying to lazy load. The container and offset options is set as follows to ensure scrolling of the entire page is not captured but only scrolling of the little container of thumbnails:
var bLazy = new Blazy({
container: '#image-modal .image-list'
, offset: 1
});
However, images far outside that container are being lazy loaded. You can see in the clip below that as I hover over each item to highlight that area on the page, images that are not visible but are in within the viewport height are still being loaded. Images falling below the viewport are not yet loaded. If I were to scroll down in the little window, the next row of three images would load, though they too are only in the viewport, but not actually visible.
How can one overcome this lazy load issue?
