Slider Repeater Overflow with Collapse

Question:
I have a slider repeater which allows me to have swipe functionality on mobile. Users are then able to select an item on the repeater.

However, when the slider is scrolled to a certain position and then collapsed and then expanded again (at a later stage) it defaults back to the 1st item in the repeater and not the item the user was on when they collapsed it. Is there a way to ensure the repeater expands back to the last position?

Product:
Wix Studio

Use the local storage API to store and restore the position. That might work.

Hi

My question is more related to how do I get the repeater to scroll to that position

Hi,

Hope you are well.

Are you using a button to make it collapse? Is there any code you are using?

Hi

I have the repeater in a multistate box with an expanded and a collapsed state. The idea is that the user can expand to see the repeater, scroll, make a selection and then collapse it again.

However, if they want to return to the repeater and expand it again, the repeater defaults back to the 1st item rather than the item that was selected.

Does this explain?