Scrolling owl carousel with the mouse wheel, cross-browser compatibility?

There is a piece of code, it makes owl carousel to ostatsa with the mouse wheel, but the problem is that in Google Chrome everything is OK, FireFox does not react, IE flipping forward, no matter where you turn the wheel, what could be the problem and how to solve it ?

shpOwl[0].addEventListener('mousewheel', function(e) {
if (e.deltaY > 0) {
 $('.shp-slider').trigger('prev.owl', [300]);
 } else {
 $('.shp-slider').trigger('next.owl', [300]);
}
e.preventDefault();
}, false);
June 5th 19 at 21:09
1 answer
June 5th 19 at 21:11
Solution
Here's a demo from the documentation, works in Chrome, FF, IE11 accurately
Lol, didn't notice the plugin in the Overview and therefore does not work anything... And I already looked in the documentation) thanks anyway) - antonetta.Batz82 commented on June 5th 19 at 21:14

Find more questions by tags JavaScriptjQueryOwl Carousel