Hi, I try to make a page like the following one for my application (using ionic 3.3.0)
The right panel displays a list of articles coming from my web server.
The left panel displays the content of the article I clicked on the right panel.
I used an ion-grid to get this design.
Left panel has to be vertically scrollable (includes an ion-scroll).
So does right panel.
And I would like to get something like an infinite scroll on right panel (otherways the application is quite slow).
I can subscribe to scroll events for ion-content but that’s was not very helpful in this case.
It did not let me know when right panel comes to the bottom.
I tried to subscribe to scroll events on ion-scroll without success.
What would be the right way to design the page to be warned when right panel scrolls to bottom (infinite-scroll) but not when left panel scrolls to bottom?
However the scroll event is a lot more limited than the one on <ion-content> , it doesn’t have as many properties or functions so I had to scrap it ionScroll event doesn’t fire on ion-scroll
I have to allow the scroll event of ion-content. set the property scroll-events=“true”
<ion-content padding (ionScroll)=“onScroll($event)” (ionScrollStart)=“onScrollStart($event)” (ionScrollEnd)=“onScrollEnd($event)” scroll-events=“true”>
…
…
</ion-content