Hi
When trying to call the complete
method for infinite scroll, I get the error:
event.target is possibly null
You can see the code below, and I am passing the $event to the loadData method
<ion-infinite-scroll
@ionInfinite="loadData($event)"
threshold="100px"
id="infinite-scroll"
:disabled="false"
>
Does anyone know what’s going on here? Without calling event.target.complete infinite scroll only loads the second page and then stops working.
1 post - 1 participant