Maintaining Position After Navigation with Algolia in Bubble

Hi,

We’re using Algolia in a Bubble application to display a list of search results (deals) in a repeating group.

Our goal is to allow users to click on a result to view more details (on a new page), then return to exactly the same position they were on when they press the browser’s back button.

We want to avoid using visible scrolling or relying on the browser’s native scroll memory because it only works reliably for the first few visible results (e.g. the first 12 items). Once more results are loaded (e.g. 50+), the scroll position is not retained correctly.

What we’re trying to achieve:

  1. Keep all results loaded and visible.

  2. Track which “page” or result position the user was on.

  3. When returning from the deal page, land instantly and seamlessly in the exact same position without visible scrolling.

Is there a best practice for implementing this kind of position persistence using Algolia and Bubble?

Thanks in advance!

You can do this with URL parameters.

Honestly, it’s a long process and I would probably just ask AI and copy it.

You can do the same.

Just go to Gemini, or somewhere like that and ask your question. It will give you step by step instructions on what to do.

Maybe someone else will give you complete instructions…but, AI really can help you with a lot of questions you have and save a lot of time.

Good luck.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.