Repeating Group Scroll Without Moving Main Page Viewport

I have a simple message system started using two Repeating Groups, placed side by side. One RG is for the list of message conversations, the second RG contains the list of individual messages from whatever conversation the user selects from the 1st RG. Most recent message is at the bottom of the second RG, which means you need to scroll down after you load the messages from a long conversation into the RG.

I’ve read the way to view the latest message in such a setup is to include a “scroll to entry” workflow step and specify ‘last item’ when you load the conversation. And this does work.

However, this scrolls the entire page’s view down so the top of the viewport is at the level of the last message…which is at the bottom of the RG.

Ex: entire page is 1000px tall and bottom of Messages RG is at 500px. If the latest message is at the bottom of this RG, the ‘scroll to’ action takes the users entire viewport down so the top of their entire screen is now at 500px (minus the height of the message itself, but I’m simplifying).

Is this the expected behavior or am I doing something wrong?

If it is expected, is there another way to scroll an RG to the bottom without moving the users viewport at all (or at least aligning the new view to the bottom of the viewport and not the top)?

Thanks for any advice.

Try to remove fit content to height from your container(wrapper) or use height 100%

Hi. Thanks for your reply.

I tried this a couple times, all the way up and down my group tree, but it didn’t work.

I had to just remove the ‘scroll to’ step for now. Until I can get it to work it’s quite annoying!

Im not really even sure how to properly test/diagnose the issue.

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