Repeating Groups: current RG page number determination

Hello, Bubblers!
Haven’t been here for a long time and now I’m back to work on my new project :smiley:

I have a problem with making custom image gallery using Repeating Group element. I have a RG with fixed number of 3 cells and two navigation icons to show next and previous pages of RG:
So when user clicks on the left arrow icon I use “Show previous” action to show the previous page of RG and the right arrow icon is for “Show next” action.

What I’d like to achieve is to hide arrows:

  • the left one arrow when the RG page is #1,
  • the right one arrow when current RG page is the last one (there are no more pictures to show).

According to Bubble documentation we can go to previous, next and specific RG page. So as I understand Bubble somehow stores current RG page. But I can’t find the way to extract the number of current RG page. Any ideas?

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