This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Aalok Trivedi
Posted Feb 01 - Read on Facebook

I'm practicing using json, but I'm having a little trouble. I have 7 items in my json file but when I create my loop only 6 items are created. I'm sure this is expected behavior for a loop, but how do I get all my items? I'm using this proto as a reference:

my proto:


Prakhar Bhardwaj

I see all 7 of them man. You are talking about the 'option container', right?

(Check screenshot)

Blaine Billingsley

ScrollComponents are a little funky when adding things to them programmatically. Add `scroll.updateContent()` to the end of your file (or really any time after the for loop has completed) and the scrollComponent will check out all the content inside it and update the `.content` width accordingly.

Read the entire post on Facebook