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

What is Framer? Join the Community
Return to index
John Lee
Posted Jul 14 - Read on Facebook

Quick question:
How to snap to last page of page Scroller? (card9) in my example. Ignore the fact my code uses "card3" it doesn't work regardless

3 Comments

Aalok Trivedi

you could do something like this https://framer.cloud/fFyio

John Lee

Good suggestion thanks! Two things to get around tho:
1. How to do this without animating from page 1 to 10 - so it naturally starts at page 10.
2. I'm hoping to map an index to my cards inside a cards array.

John Lee

sorry, i think #2 is solved by using:
pageIndex = pageCount - 1
pager.snapToPage(layers[pageIndex])

Read the entire post on Facebook