Fullpage.js cannot slide full screen on the browser's mobile phone simulator, but the mouse wheel can slide.

1. I used the fullpage.js plug-in in a project that requires full-screen scrolling. On the PC side, you can use the mouse wheel to achieve full-screen scrolling. However, after using the analog mobile phone, you can not punish the sliding effect, but you can use the scroll wheel to scroll. After querying, the official only said that the support for the mobile side did not give a solution.

my code layout is the same as above, mainly on the mobile side to achieve full-screen scrolling, what is a good plan?


$(function () {

$('-sharpdowebok').fullpage({
    sectionsColor : ['-sharp1bbc9b', '-sharp4BBFC3', '-sharp7BAABE', '-sharpf90']
});

$(window).resize(function(){
    autoScrolling();
});

function autoScrolling(){
    var $ww = $(window).width();
    if($ww < 1024){
        $.fn.fullpage.setAutoScrolling(false);
    } else {
        $.fn.fullpage.setAutoScrolling(true);
    }
}

autoScrolling();

});

Menu