V
V
Vyacheslav Yashnikov2016-05-10 23:46:56
css
Vyacheslav Yashnikov, 2016-05-10 23:46:56

Why is the site not scrolling to the end on mobile devices?

Good afternoon.
I did an adaptive layout and faced the fact that on mobile devices the site does not scroll to the end, tell me, what could be the problem? Gif
site itself with a demonstration

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
PavelSkor, 2016-05-11
@PavelSkor

Well, the site is good, but it's only you, I'm fine

A
Alexey, 2016-05-11
@alsopub

It can be seen that the problem is only in mobile browsers, that is, a regular browser with a small width does not reproduce the problem. You can also see that the place to which the page scrolls depends on the width of the screen.
Pages in mobile and narrow desktop browser look the same.
Judging by how the page is twitching, setTimeout/setInterval/onscroll is working, which returns scrollTop.
There is a lot of code, it is difficult to debug it online.
You need to turn off functions like scroll() little by little and watch the result.
Or try rewriting the mobile browser detection functions so that all browsers are considered desktop.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question