O
O
Oslar2020-02-07 22:20:10
JavaScript
Oslar, 2020-02-07 22:20:10

How to remove the scrolling of the site page when scrolling through the slider with your finger?

Here, for example, on Google,
5e3db7b1822c4730861917.jpeg
when you scroll through pictures and the site does not go up and down, this is how you can implement this on your site, otherwise it’s sick when you scroll through the slides, then the site goes up and down, depending on what angle you are swipe that slider

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oslar, 2020-02-08
@Oslar

here is the answer to my question https://dle-faq.ru/faq/layoutquest/24508-pochemu-p...

A
Alex, 2020-02-07
@Kozack

As far as I know it depends on OS and browser. But in general, it’s enough for the scroll event to hang / remove overflow-y: hidden on body and html.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question