Auto overflow does not work in Android browser.

I have a page with the following directives

<meta name="viewport" content="width=device-width, user-scalable=no" />

I dynamically generate table cells in the following placeholder:

<div id="gadget_albums" style="width:100%;overflow: auto; ">
<table>
<tr id="albums_t"></tr>
</table>
</div>

It works great on iOS devices, but for some reason there is no horizontal scrolling on Android. What could be the reason?

From this side, I see people trying to use

-webkit-overflow-scrolling: touch

but no luck. Any solution?

+2
source share
1 answer

The property overflow: autofor <div>is not yet available on Android. For this you need to find a job. I mean using a combination of JavaScript, css, HTML that you can achieve.

Mark this one out.

Hope this helps.

+2
source

All Articles