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

What is Framer? Join the Community
Return to index
George Otsubo
Posted Aug 23 - Read on Facebook

Silly question but why does the print statement get printed multiple times when there is only 3 pages in the pageComponent? Also I only swiped to the second page

4 Comments

Agisilaos Tsaraboulidis

Not so sure but I think it's how many times you go from page to page. Because it's 3 pages it doesn't mean that the statement is going to be printed 3 times.

Jonas Treub

The onMove event is continuously called when the Page Component content moves. Each time "move" gets printed.

Joey Lamelas

I think you might want to use pageScroller.on "change:currentPage", -> instead.

Jordan Robert Dobson

It prints on every change and you registered / setup the event three times.

Read the entire post on Facebook