cubiq / iscroll

Smooth scrolling for the web
http://iscrolljs.com
MIT License
12.87k stars 3.81k forks source link

iscroll 5 parallax / indicators set a limit on the scroll? #1188

Open eliteproxy7 opened 7 years ago

eliteproxy7 commented 7 years ago

i have an indicator set which works great

    myScroll_Content2 = new IScroll('#ContentArea', {
        mouseWheel: true,
        scrollbars: true,
        interactiveScrollbars: true,
        scrollX: false,
        scrollY: true,
        probeType: 3,
        momentum: true,
        preventDefault: false,
        bindToWrapper: true,
        indicators: [{
            el: document.getElementById('heroArea'),
            resize: false,
            ignoreBoundaries: true,
            speedRatioY: 0.8
        }]

    });

i would like the indicators to have a max top limit so they don't go past it. any solution to this?