Hello framers. I'm struggling with a scope issue using snapToPage() in an event callback function (see the image). Could somebody point me in the right direction? Thanks!
if you do a print(groupforming) in that event, what happens?
I get this: <Layer id:4 name:artboardC (2160,0) 1080x1920>
how about print(pages)?
<PageComponent id:12 name:artboardA (0,0) 1080x1920>
so both of those layers have the correct thing in them, which means its probably not a scope issue... can you share the rest of your project?
can you share the full project, not just the framer code?
Oops, I'm really a newbie, sorry :) http://share.framerjs.com/dq9jr7gqpmlm/
very weird, i think this might be a bug... if i make a new layer and add that action to it, it works fine. Koen is there some weirdness with PageComponent children trying to effect their parent?
here's the updated project: http://share.framerjs.com/p05jbyp8gubz/ (round button is btn_groups, red block is newBtn)
Thank you! The more I use Framer, the more I love it :)
Nice one George Kedenburg III
By the way...
So I just moved it on top of the actual button and gave it a 0.0 opacity. It's not as clean but at least it works :)
We found a better solution!
Chris - lol. Same thing again.
So: https://www.facebook.com/groups/framerjs/permalink/691088261018248/Much: https://www.facebook.com/groups/framerjs/permalink/687287008065040/Pain: https://www.facebook.com/groups/framerjs/permalink/688141197979621/
Seems like this might be a good item for docs / snippet / teach section Benjamin Den Boer Koen Bok?