• Resolved mihailmc

    (@mihailungu)


    After updating elementor to latest version my website is scrolling very hard, it keeps stuttering. Theme used is Astra Theme. I deactivated all other plugins, no fix. I had to downgrade elementor to previous version.

    PS: Also, if you are using Royal Addons for elementor and Elementor pro do not update! The front end will crash with fatal error. Wait for a Royal update.

    • This topic was modified 3 weeks, 5 days ago by mihailmc.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Milos

    (@miloss84)

    Hi there,

    Thank you for contacting us.

    Please try to roll back to version 3.24.7; this will resolve this issue. To accomplish this, you can use our rollback feature – https://elementor.com/help/rolling-back-to-a-previous-version-of-elementor/

    Hope this will help to resolve your issue.

    Kind regards,

    • This reply was modified 3 weeks, 5 days ago by Milos.
    Thread Starter mihailmc

    (@mihailungu)

    Well, like i said in my original post, downgrading was the only “fix”. So the problem is only with mouse wheel scroll, when scrolling the website top to bottom and botton to top. Using de right slider, the scroll is smooth…I tried deactivating all other plugins and leave only elementor and elementor pro active. I also changed the theme to Hello Elementor, and the issue was still present.

    What is weird is that i can’t reproduce this on other websites i own… On the problematic site, i checked if some custom css was added, but there isn’t any.

    Thread Starter mihailmc

    (@mihailungu)

    Later Edit: Haha, i found the culprit. I had a custom code added inside elementor>custom codes for Lenis Smooth Scroll:

    <script src="https://cdn.jsdelivr.net/gh/studio-freight/[email protected]/bundled/lenis.js"></script>

    <script>
    const lenis = new Lenis({
    duration: 1.2,
    easing: (t) => Math.min(1, 1.001 - Math.pow(2, -10 * t)), // https://www.desmos.com/calculator/brs54l4xou
    direction: 'vertical', // vertical, horizontal
    gestureDirection: 'vertical', // vertical, horizontal, both
    smooth: true,
    mouseMultiplier: 1,
    smoothTouch: false,
    touchMultiplier: 2,
    infinite: false,
    })

    //get scroll value
    lenis.on('scroll', ({ scroll, limit, velocity, direction, progress }) => {
    console.log({ scroll, limit, velocity, direction, progress })
    })

    function raf(time) {
    lenis.raf(time)
    requestAnimationFrame(raf)
    }

    requestAnimationFrame(raf)
    </script>

    Searching online for a solution i stumbled upon this reported issue in github https://github.com/elementor/elementor/issues/29122 and after reading it, i remembered i had added one year ago a custom code for smooth scrolling. So, i removed the custom code and problem was fixed in version 3.25.3.

    Thanks for the info – it gave me the clue to what was causing the same symptoms on my site.
    A wee “smooth-scroll” switch in the theme was the culprit, disabled it and all is good again ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.