Forum Academy Marketplace Showcase Pricing Features

Active State Breaks when Object Has New Line Characters

I have an app that’s saving tweets. They are displayed in a repeating group. I have a custom state called Active?, that uses the cell index to determine the active tweet in question. When active state is yes with the current cell index, it shows a different background image.

But for some reason, when a tweet has new line characters in it, the repeating group doesn’t display the active state. It’s setting the index correctly, but it doesn’t actually display the background.

Any idea why it might be doing that?

Hmmm… maybe the text element doesn’t expand properly so it shows nothing?

Could you share a screenshot of your RG?

1 Like

Update: Solved - it had to do with image size. If the image was shorter than the container it wasn’t showing.

That was annoying!