What needs to be corrected, that the site skrollitsya in Chrome?

Good afternoon. Please tell me the reason why not scrolled page crystal-design.com.ua in Chrome?
In the Muff and on mobile devices everything is fine, but in chrome on a PC, complete sadness...
Trying to manually keep track of where there is a lock, but never found, most likely somewhere in the scripts, but poorly versed in js, so asking for your help.
Thank you for understanding)
March 19th 20 at 08:31
2 answers
March 19th 20 at 08:33
Solution
Your solution helped:
A crutch reduces event body
$(document).ready(function(){
 var ischrome = !!window.chrome && (!!window.chrome.webstore || !!window.chrome.runtime)
 if (ischrome) $('body').off('mousewheel') 
})
- flo.Pag commented on March 19th 20 at 08:36
March 19th 20 at 08:35
All skrollitsya.
scroll wheel of the mouse in the content area and not vertical stripes.
PC - Google Chrome.
You need to wait the complete loading of the page and then try to scroll.

Check again please - flo.Pag commented on March 19th 20 at 08:38
@flo.Pag, all skrollitsya.
Open private mode, check. - Sabina.Jacobs79 commented on March 19th 20 at 08:41
I checked in incognito, too.
You scrollie after full page load or without waiting for the download of all components? since the data are loaded then I have skrollitsya, and how the page has fully loaded - no longer exists. - flo.Pag commented on March 19th 20 at 08:44
@flo.Pag, my identity is not skrollitsya - Sandra_Lakin commented on March 19th 20 at 08:47
@flo.Pag, everything is connected and I scroll. The mouse up and down to the footer, then the header, a few times, here's the link: crystal-design.com.ua
73 Chrome, Windows 10 Pro. - Sabina.Jacobs79 commented on March 19th 20 at 08:50
by css to look like anywhere else is not a block, but on the js there is a suspicion on the mousewheel and the rest of the plugins that were in complexe with cherry parallax - flo.Pag commented on March 19th 20 at 08:53
parallax-slider/js/jquery.simplr.smoothscroll.min.js
Bloch event ("body").mousewheel - Laverna.Roberts commented on March 19th 20 at 08:56
@Laverna.Roberts, and how to fix? - flo.Pag commented on March 19th 20 at 08:59
@flo.Pag, but there is not inficirovannye code? - Laverna.Roberts commented on March 19th 20 at 09:02
@Laverna.Roberts what he is here: https://crystal-design.com.ua/wp-content/themes/th...
the same in the files. Can unloading be done with just the plugin. I'm JS a sheep RAM((( - flo.Pag commented on March 19th 20 at 09:05
@Laverna.Roberts, jQuery(document).ready(function ($) {
if (!device.mobile() && !device.tablet()) {
$.srSmoothscroll({
step: 150,
speed: 800
});
}
});

;(function (e) {
"use strict";
e.srSmoothscroll = function (t) {
var platform = window.navigator.platform;
if ((platform === 'MacIntel' || platform === 'MacPPC')) {
return false
}
;var n = e.extend({step: 170, speed: 1000, ease: "swing"}, t || {});
var r = e(window), i = e(document), s = 0, o = n.step, u = n.speed, a = r.height(),
f = navigator.userAgent.indexOf("AppleWebKit") !== -1 ? e("body") : e("html"), l = false;
e("body").mousewheel(function (e, t) {
l = true;
if (t < 0) s = s + a >= i.height() ? s : s += o; else s = s <= 0 ? 0 : s -= o;
f.stop().animate({scrollTop: s}, u, n.ease, function () {
l = false
});
return false
});
r.on("resize", function (e) {
a = r.height()
}).on("scroll", function (e) {
if (!l) s = r.scrollTop()
})
}
})(jQuery); - flo.Pag commented on March 19th 20 at 09:08
@flo.Pag, apparently a problem in the plugin.
https://github.com/simov/simplr-smoothscroll/issues/28 - Laverna.Roberts commented on March 19th 20 at 09:11
@Laverna.Roberts, is it possible to use some kind of crutch? - flo.Pag commented on March 19th 20 at 09:14
A crutch reduces event body
$(document).ready(function(){
 var ischrome = !!window.chrome && (!!window.chrome.webstore || !!window.chrome.runtime)
 if (ischrome) $('body').off('mousewheel') 
})
- Laverna.Roberts commented on March 19th 20 at 09:17
@Laverna.Roberts, Thank you very much, it works! 1550897922198514754.jpg - flo.Pag commented on March 19th 20 at 09:20

Find more questions by tags WordPressWeb DevelopmentJavaScript