Searchbar with infinite scroll data

I am having an issue when searchin a list where data is added after scroll.

It searches inside the items added at the beginning, but the items added dynamically are not included on the search.

Any Ideas?

If its an async search, you shoul provide some time before getting data then render.

How can I check if it’s an async search?

If you are not searching on a already rendered list, then it is async.

You mention you search on a list, you search on a list on the UI ? Or you mention some kind of data ? You should not search currently visible things, there must be some root that data on list come from.

If you write some code maybe we can help you

OK. So I changed it so async is false and it searches.
Need only to fix the number of items in order to display 10 items if there is more results.