Ionic 4 ion-infinite-scroll event not call if content height not overflow

Hi Devs,

Ionic 4 ion-infinite-scroll event does not call if content height not overflow. Please find the below example.

Can we make ion-infinite-scroll event call if content height lesser then windows?

Thanks In advance.

Hi,

React to below github post
Indeed it is limitation of infinite scroll that it can’t work with any element, it must be next to ion-content.
start and end infinite scroll feat: https://github.com/ionic-team/ionic-framework/issues/21185
Infinite scroll should work with any element feat: https://github.com/ionic-team/ionic-framework/issues/20981

For now you will have to create custom listener to listen the scroll and compute the height according to that you will have to fire an api call