Lazyload image listen scroll event only vertically problem


#1

Hi everyone, I am using a ng-lazyload-image, link is https://www.npmjs.com/package/ng2-lazyload-image

When I integrate it with my code, anything fine except I discover when the list is only scroll horizontally, it can’t lazy load the image, only when you scroll vertically, the image will loaded, anybody know how to solve it.

My code is:

<img [defaultImage]="'assets/img/productDefault.png'" [lazyLoad]="product.imageUrl" [scrollObservable]="container.ionScroll">     

Thanks a lot.


#2

Did you find the answer for this? I’m having the same issue…