hey guys, I am wondering how can I make different *scrollable* layers in different tab? Now my prototype can only scroll the first .wrap layer.
Do you have multiple tabs in your app? It's hard to say where your code went wrong. Can you share it?
Hey Chen - if you're looking to create mulitple scrollable pages that can be swiped as well - you can achieve this by wrapping all of your ScrollComponents in a PageComponent as well. See this example → http://framerjs.com/examples/preview/#medium-app.framer
Thanks for reply. I just want to scroll every content in their corresponding pages. I tried to use ".wrap" but found only one page can scroll, then I use "layer.superLayer = XXXScroll.content", and it doesn't work too. So I suppose these code can only use once? ( sorry for my poor English, and I don't know how to mention a person in Groups. )
I will share my code tomorrow morning, thanks guys! ( I'm in China )
Yes you can only use the code once... you must setup two scrollers.
Hmm... I mean I use the code for each content, but just the last one work.
This is my code at the moment ~
I don't see you ever hiding either scroll component. So one is blocking the others.
You'll want to do FeedScroll.visible = false most likely.
Yes! It works! Thanks! Code: