How to scroll one area of ​​a page using an Android web browser?

On iPhone, safari cuts out scrollbars on divs that have an overflow set to auto or scroll, but still allow the user to scroll with a two-finger gesture.

Using HTC Incredible, we see that the scroll bars are again missing, but we cannot determine any gesture that allows the user to scroll. Is there a special directive that we need to add to our HTML? This should affect the sites of sites, every time someone tries to scroll the area of ​​the page, and not the entire page. Does anyone know how to enable div scrolling using a web browser on Android phones?

+3
source share
2 answers

I am sure you cannot do this on an Android device. I tested the browser a few weeks ago because I wanted to create a web application for iPhone / Android, and the scrollable div was just unusable on Android. In addition, even if it is a two-finger gesture, it will only work on later versions of Android, and not on older phones, which does not actually solve the problem, because many phones are still 1.5 and 1.6 .

+2
source

I understand that this stream is outdated, but I think that for those who are looking for this stream through web search, it is worth noting that the current versions of Chrome and Firefox on Android support frame scrolling. Unfortunately, the popular Dolphin browser does not.

+1

Source: https://habr.com/ru/post/1749256/


All Articles