Open Laurensvdw opened 5 years ago
Hi there,
I tested your package and it worked well untill I opened the web application on a mobile phone. Then it did no longer load the images...
I checked your demo on my phone and there it works. Any ideas how come? :)
I didn't set any options, just used it as described:
(deferLoad)="showMyElement=true"> <my-element *ngIf=showMyElement> ... </my-element>
In the meantime I wrote my own Intersection Observer, I was just curious how come it does not work out of the box :)
some browsers e.g. chromium just works with a block-element + deferLoad-directive works <div (deferLoad)="showMyElement=true">
<div (deferLoad)="showMyElement=true">
did not work <span (deferLoad)="showMyElement=true">
<span (deferLoad)="showMyElement=true">
Hi there,
I tested your package and it worked well untill I opened the web application on a mobile phone. Then it did no longer load the images...
I checked your demo on my phone and there it works. Any ideas how come? :)
I didn't set any options, just used it as described:
In the meantime I wrote my own Intersection Observer, I was just curious how come it does not work out of the box :)