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

What is Framer? Join the Community
Return to index
Matt Hurley
Posted Jun 19 - Read on Facebook

I have imported a design from Sketch, and wrapped elements in a ScrollComponent (the same as the Scrollable example, here: http://framer.com/learn/import/templates/). I now need to interact with elements within the ScrollComponent (in the example, one of the photos) but I'm getting TypeError: undefined is not an object. It seems that the ScrollableComponent is being treated as a single element - how would I go about accessing specific elements within the ScrollComponent?

2 Comments

Cemre Güngör

you can access the things you imported from sketch the same way as before. it doesn't matter that they are in a scroll component.

also: posting your code always helps a ton :)

Matt Hurley

My bad - I was trying to select an ungrouped layer. Oops. I will read more closely, and make sure I include code next time :)

Read the entire post on Facebook