How to reset scroll of element offscreen?

Hi!

Question:
How do we reset an elements scroll position that’s offscreen (hidden floating group) ??

We have a catering directory.

When a user clicks a listing, they’re taken to the profile, which is a floating element that appears on page whcih is scrollable to view the full profile.

When the user clicks away, this floating element is hidden, and the user can carry on scrolling the listings.

The problem is, when the use selects another listing, the floating group opens up with the profile, but it displays where the user left off (at the bottom of the profile)

How do we reset an elements scroll position that’s offscreen??

On your floating group there is a datasource, that should be left blank. When you go to show the floating group with action, you should first display data in the floating group. When you go to hide the floating group you should reset the group with the action ‘reset group’…that would clear the data value displayed in the floating group, and likely will reset the scroll position.