Scroll to Specific Item in InfiniteScroll

Is there any way I can programmatically scroll to a specific item in an infinite scroll? I am trying to over initialize the data in an infinite scroll to allow a minor amount of backward scroll functionality.

Theoretically, I should be able to do something like this:

        this.content.scrollTo(0, document.getElementById('today').offsetTop, 500);

The problem is that even when using ionViewDidEnter, the element cannot be found.


1 Like