Smooth scroll JS library causes issues on Google chrome scrolling | wp-experts.gr

Smooth scroll JS library causes issues on Google chrome scrolling


We noticed at some WordPress and Joomla websites that we manage that smooth scroll JS library causes issues on Google chrome scrolling.

You can solve your issues in on of the following ways:

Update your theme.
Update your related plugin/module.
Remove manually the related library.

How to solve issues on Google chrome scrolling when the cause is Smooth scroll JS library.

Example of commenting out the following related code in a joomla index.php file in directory templates/theme-name/index.php

Find and comment out the following block code:


<script src="<?php echo JURI::base().'/templates/'.$this->template.'/js/jquery.simplr.smoothscroll.min.js'; ?>"></script>
<script>
jQuery(function($) {
if (!Modernizr.touch) {
$.srSmoothscroll({ease: 'easeOutQuart'});
}
});
</script>

 

By browsing to our page you accept our privacy policy