To disable fullpage.js scroll after the first slide in a Webflow project, you need to limit fullpage.js to control only the first section and allow standard scrolling for the rest.
#first-slide) to the first section you want fullpage.js to control.
.fullpage container (or the class you’ve defined with fullpage.js).
scrollOverflow: true and leave out options for additional sections.
Example initialization:
new fullpage('#first-slide', {
autoScrolling: true,
scrollOverflow: true,
licenseKey: 'your-license-key',
onLeave: function(origin, destination, direction){
if(origin.index === 0){
fullpage_api.destroy('all'); // Disable fullpage after first section
}
}
});
fullpage_api.destroy('all'), Webflow’s default scroll behavior resumes.
To disable fullpage.js after the first slide, initialize it only for the first section, then use JavaScript to destroy fullpage.js when leaving that section—enabling native scroll for the rest of the page. Ensure other sections are outside the fullpage wrapper in Webflow.