Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible bug in $.fn.fullpage.setAllowScrolling. #1169

Closed
bardiharborow opened this issue Apr 23, 2015 · 4 comments
Closed

Possible bug in $.fn.fullpage.setAllowScrolling. #1169

bardiharborow opened this issue Apr 23, 2015 · 4 comments
Labels

Comments

@bardiharborow
Copy link

The following jsfiddle does not work as it is supposed to, at least on Chrome 42 (latest stable).

http://jsfiddle.net/97tbk/554/

$('#fullpage').fullpage({
    sectionsColor: ['yellow', 'orange', '#C0C0C0', '#ADD8E6'],
    afterLoad: function(anchorLink, index){
        //on load section 2...
        if(index == 2){
            $.fn.fullpage.setAllowScrolling(false, 'up');
        }else{
            $.fn.fullpage.setAllowScrolling(true, 'up');
        }
    }
});
@alvarotrigo
Copy link
Owner

Can you explain why not?
It is disabling the mouse wheel/trackpad scrolling up when reaching the 2nd vertical section.

@alvarotrigo
Copy link
Owner

Closed until new evidence / explanation is provided.

@bardiharborow
Copy link
Author

Supposedly it works on Chrome 42 Mac, but it's not disabling scrolling up on Chrome 42 Windows.

@alvarotrigo
Copy link
Owner

Supposedly it works on Chrome 42 Mac, but it's not disabling scrolling up on Chrome 42 Windows.

Sorry I'm not able to reproduce it. Its working as expected on Chrome 42 Windows for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants