Streaming live at 10am (PST)

Opening the editor disables horizontal scrolling with fullpage.js


#1

I have created this website and implemented fullpage.js.
When I go into Editor mode, I can not scroll horizontally anymore :confused:

Any ideas on how to solve this?


#2

Bump…
Any ideas about this?


#3

The simplest way I can think of would be to make sure that fullpage.js doesn’t run when you’re in the editor. If you have a custom domain set up, you could write a javascript function that grabs the domain from the URL bar, then only runs fullpage.js if you are on your live domain (not the free webflow.io one).

Another way would be to detect if the editor query param is present on page load. This is briefly displayed when opening the editor having come from the designer.
image

Then if this param is present, don’t run fullpage.js.

Hope that helps.