Combining a relatively positioned element and a row or column group

I’d like to create a repeating group where each repeating container consists of a series of elements in the group, either arranged in a row or column and then add another element to that group that can be positioned absolutely in each container.

Here’s an example:

In this idea, each repeating group would contain a cancel button in the upper right corner of the repeating group.

How can I accomplish this?

Put that element into the RG and position it where you want it, then make it visible based on condition that current cell’s index is 1. Make sure you make it not visible on page load.

The repeating group is set for row layout—the actual layout I want has two containers in the RG, and only of of the two is conditionally rendered. But I do want to put a cancel button in the corner of each of these containers that is absolutely positioned (for every row in the RG). If I switch the RG to fixed layout, it seems like I might be able to do something like this, but the layout gets all messed up since the heights of the containers in the RG are not necessarily uniform.

Instead of my previous mockup, here’s a clearer image showing what I’d like to do:

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