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

What is Framer? Join the Community
Return to index
Jaanus Kase
Posted Jan 05 - Read on Facebook

There’s a bit of API inconsistency that’s driving my OCD a bit nuts. On a FlowComponent, showPrevious() goes back multiple steps in a stack. The layer state API only has concepts of “current” and “previous”, so layer.animate "previous" goes back only one step, and if you repeat the call, it just keeps cycling between latest two states, no matter what happened before. Is it possible to do a stack of states that you can unwind also for layer states, similarly to how it works with FlowComponent?


Jordan Robert Dobson

You would have to create that yourself.

Read the entire post on Facebook