Infinite Scrolling if the Backend query is through an action

Database & APIs

So I have set up a calendar and I have 2 different tabs on the page - one to show a calendar view and dates of events, the other to just list all of the events that match the filters a user has selected (but if they do not select any filters, then it will show all events that are in the database).

Issue being this is likely to be a long list, and I can already see lags in the performance.

THa question is, at the moment the Firebase query happens through an action on the page load, and then my list views draw the data from that action (to limit the number of reads). But in this way I can't set up the infinite scroll.

Is there another way to set up an infinite scroll on my list of events when the data is pulled from a page load query as described?

What have you tried so far?

I am not sure what to try here. I have been exploring all options and consutling the Flutterflow Docs but can't find a solution

Did you check FlutterFlow's Documentation for this topic?
Yes
1