![]() ![]() I solved it by killing triggers and recalculating the elements on window resize height like this: var trig1 ScrollTrigger. and you can take care of the height of the element yourself by simply subtracting the height. setTimeout can be used to a similar effect when requestAnimationFrame is not supported. Okay so what actually happened was: some element's height was not updated on resize so the pin triggers were way off and that messed the smooth-scroll viewport. ![]() I, Balzs Galambosi, the developer, digitally sign every executable with a trusted Comodo certificate. You can always find its icon on your System Tray. Note: Read the API tab to find all available options and advanced customization This component requires MDB Pro Essential package. SmoothScroll is 100 clean, it is a payed application and the only way we make money is by the generous yearly payments of our users. SmoothScroll is a lightweight application that runs in the background. To scroll to the bottom of the page, the y-position can be set to .įor scrolling to a certain position in an exact amount of time, window.requestAnimationFrame can be put to use, calculating the appropriate current position each time. Bootstrap smooth scroll is an animated movement from a trigger such as button, link or any other clickable element to another place of the same page. For a more comprehensive list of methods for smooth scrolling, see my answer here. ![]()
0 Comments
Leave a Reply. |