Ion infinite scroll not getting triggered

I have been trying to use infinite scroll in a shared component ,For the first time the ion scroll event is triggering ,if i route to next page and come back ,the ionInfinite is not triggering