K
K
Kirill Trifonov2018-03-22 15:16:20
css
Kirill Trifonov, 2018-03-22 15:16:20

Why doesn't scrolling with the mouse wheel work in Chrome browser?

On the site new-syte.h1-studio.ru , scrolling works in the Firefox browser, but in Google Chrome, it does not scroll with the mouse wheel on any page.
Why is this happening?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
aloky, 2018-03-22
@Flancyk

Such a thing disables scrolling.

document.querySelector('body').addEventListener('wheel', blockWheel);
function blockWheel(event) {
   event.preventDefault();
}

C
Conan the Barbarian, 2018-03-22
@JaredWinter

Try connecting this .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question