Opening the editor disables horizontal scrolling with fullpage.js

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?

Any ideas about this?

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 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.

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

Hope that helps.

1 Like