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

What is Framer? Join the Community
Return to index
Josef Richter
Posted Apr 06 - Read on Facebook

Any ideas why snapToNextPage() is not working under a click event? the event fires, but snapToNextPage won't...

pageOne.on Events.Click, ->
page.snapToNextPage()

5 Comments

Koen Bok

There is no real next page without a direction, so you need to add right, down, left or bottom.

Josef Richter

Koen Bok but the docs say default direction is "right" and you also call the function without parameters in the docs. so am I missing something? http://framerjs.com/docs/#page.snapToNextPage

Josef Richter

btw calling page.snapToNextPage("right") doesn't do anything either

Koen Bok

Ok might be a bug. I'll look into it asap.

Josef Richter

thanks. no rush.

Read the entire post on Facebook