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

ScrollOverflow Delayed Activation #242

Closed
edwinhermawan opened this issue Feb 14, 2014 · 1 comment
Closed

ScrollOverflow Delayed Activation #242

edwinhermawan opened this issue Feb 14, 2014 · 1 comment

Comments

@edwinhermawan
Copy link

SlimScroll is taking a while to activate.

As a User,
If I scroll to a section that has more content than the page,
I have to click or move the mouse around before scrolling will activate and work.

If I keep the pointer still and simply use the mouse wheel, slimScroll will not activate.

Please see below for my code. It is a small variation of example.html. I noticed the same problem in https://alvarotrigo.com/fullPage/examples/scrolling.html

'''

<title>fullPage.js plugin by Alvaro Trigo</title>
<link rel="stylesheet" type="text/css" href="jquery.fullPage.css" />
<link rel="stylesheet" type="text/css" href="example.css" />

<!--[if IE]>
    <script type="text/javascript">
         var console = { log: function() {} };
    </script>
<![endif]-->

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script>    

<!-- This following line needed in the case of setting the plugin option `scrollOverflow` to `true` -->
<script type="text/javascript" src="vendors/jquery.slimscroll.min.js"></script>
<script type="text/javascript" src="jquery.fullPage.js"></script>
<script type="text/javascript">
    $(document).ready(function() {
        $.fn.fullpage({
            slidesColor: ['#f2f2f2', '#4BBFC3', '#7BAABE', 'whitesmoke', '#ccddff'],
            scrollOverflow: true,
            // anchors: ['shit', 'balls', 'fuck', '4thpage', 'lastPage']
        });
        // $fn.fullPage().setAutoScrolling(false)
    });
</script>
<style>

</style>

Section

Just testing it

Testing scroll

Testing scroll

Testing scroll

Testing scroll

Testing scroll

Testing scroll

Testing scroll

Testing scroll

Testing scroll

Testing scroll

Testing scroll

Testing scroll

Testing scroll

Testing scroll

Testing scroll

Testing scroll

Testing scroll

Testing scroll

Testing scroll

Testing scroll

Testing scroll

'''
@alvarotrigo
Copy link
Owner

I've updated the vendor folder with the latest version of slimScroll, please try it again.

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

No branches or pull requests

2 participants