Forum Academy Marketplace Showcase Pricing Features

Synced Repeating Group Scrolling Possible?

Hey Guys, we are building Content Managment App based on User Journeys (CX- Content Managment),

Has anyone a idea how we can make the repeating groups of each Step scrollable with sync?

So when the Step above scrolls horizontal (RG) the RG in the other groups scroll as well?
Normally i would pack everything in one rg underneath like a column.

But the problem is we have an area that is full witdh in the middle that should stay fix wile scrolling. Any ideas?

1 Like

You can achieve this with different methods, one of them: using Javascript:
Bubble | No-code apps (bubbleapps.io)

1 Like

One possible solution consists of grouping.

Pack everything in a single repeating group as you said.
Group this repeating group and all the full width elements you need into an align to parent group.
Align the full-width elements to the top nonant and use the top margin to push them down however much you like.
Then just make sure that these fixed width groups are layered on top of the RG. That should do the trick.

hey yusaney, can you add the link to the editor public so I can see the code?

Hey yusaney - can you share the code pls or your editor? This would work perfectly!

Ops sorry forgot to add the link to the editor: Scrollit | Bubble Editor

@buero @samtsam34

1 Like

We got it working also for right sided scrolling.

We installed the CSS Plugin and Java Script Plugin (Toolbox)

Activate Attributes in your Settings

Add this Text to all of your RG you want the Synced Scrolling behavior:

{addClass: "scrollSync"}

And enter this on page load

$(".scrollSync").on("scroll", function() {
	var scrollPos = $(this).scrollLeft();
	var page = $(this).parents(".Page").first();
	$(page).find(".scrollSync").scrollLeft(scrollPos);
});

Thx for the help community. :slight_smile:

thanks a lot.
Does the code change for horizontal repeating groups?