Closed ryanberckmans closed 8 years ago
Resolved by forking...
My problem: lazy loaded images initializing with display: none
were eagerly loaded, ignoring the laziness.
Solution: applied patch in #27
I didn't fully digest why this wasn't merged and am going to move on :+1:
My images are failing to lazy load when initialized in a list of collapsed divs using ui-bootstrap collapse directive.
When
item.expand
is initially false, the div will load collapsed and all images on page will be eagerly loaded (not lazy).If
item.expand
is true or I remove collapsing, lazy loading works normally.Also I have only a single image; no scrollable container inside main scrollable window so afkl-image-container doesn't apply to me. Thanks for help