Okay
  Public Ticket #2564684
Slow scroll with mouse wheel
Closed

Comments

  • Admin Democratest started the conversation

    Hello

    The scrolling of the mouse wheel on the pages where we have Amelia Bookings inserted is slow.

    Maybe it's because our appointments are every 5 minutes?

    Do you have a solution?

    Best regards


  • [deleted] replied

    Hello,

    Thank you for your message.

    Unfortunately, there is some conflict with the theme Divi, if you have it, the slow scrolling issue comes up. (If you don't have Divi, please try out the script on your pages and see if it helps for your theme as well.)

    There are two solutions to this. Add this script: 

    <script>
     var links = document.getElementsByTagName('a');
     for (var i = 0; i < links.length; i++) {
       if (links[i].href.includes('#')) {
         links[i].classList.add('et_smooth_scroll_disabled');
       }
     }
     document.querySelector('body').classList.remove('et_smooth_scroll');
    </script>

    to the pages where you have your Amelia shortcode. Or disable Smooth scrolling in Divi theme options. 

    Let me know if this helped!

    If you have any further questions or concerns feel free to ask. 

  • Admin Democratest replied

    Hello

    We are using the same theme as in your demos "Bridge" by themeforest.

    I have checked the Qode Options and Smooth Scrolling is enabled. 

    I don't see how to disable the smooth scrolling of Quode only on pages with Amelia.

    Is there a way or script?

    Best regards.

  • [deleted] replied

    Please, can you add this custom CSS on the page where Amelia is loaded:

    html {
      scroll-behavior: inherit;
    }

    Please see the video attached.

      video-2020-10-05_09.14.19.mkv