Okay
  Public Ticket #1946970
broken smooth scroll
Closed

Comments

  • a.pocuc started the conversation

    Hello, I have just noticed very strange behaviour on my webpage, scrolling in chrome is very jerky it almost causes epilepsy attack when scrolling, apart from the fact that i can not turn off smooth scrolling whatever i do (theme options, header.php, functions.php…) i am now seeing error when i inspect the page:

    [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See page-smooth-scroll.min.js?ver=1.1.2:1 [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/6662647093133312 n @ page-smooth-scroll.min.js?ver=1.1.2:1 page-smooth-scroll.min.js?ver=1.1.2:1 [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/6662647093133312 n @ page-smooth-scroll.min.js?ver=1.1.2:1 page-smooth-scroll.min.js?ver=1.1.2:1 [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/6662647093133312 n @ page-smooth-scroll.min.js?ver=1.1.2:1 page-smooth-scroll.min.js?ver=1.1.2:1 [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/6662647093133312 n @ page-smooth-scroll.min.js?ver=1.1.2:1 page-smooth-scroll.min.js?ver=1.1.2:1 [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/6662647093133312 n @ page-smooth-scroll.min.js?ver=1.1.2:1 page-smooth-scroll.min.js?ver=1.1.2:1 [Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/6662647093133312

    Basically, i get one error for each mouse wheel "click", that is, on each scroll attempt. I am aware that this is Google Chrome issue as it happens on other smooth scroll sites as well, but perhaps something can be done?

    Anyway, as a temporary solution, I have completely omitted call to .js script for smooth scroll from header.php (if i remember correctly) and the webbsite now works fine without smooth scroll.

    BTW, disabling smooth scroll from theme options DOES NOT work for me, whatever i do, smooth scroll is there, so i had to remove the code myself.

    Many thanks,

    Alek

  •  675
    Neuron replied

    Hey,

    Please uncomment the line 204 and the line 208 in functions.php

    - http://prntscr.com/n2mk5x

    These will disable completely the smooth scrolling.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.