1
可能重复:
Scrollable content inside an HTML does not scroll in android emulator or phone检测使用JavaScript内滚动android的
我有两个div嵌套,并具有滚动条也。它在浏览器中正常工作,但是在触摸设备中使用它时,外滚动只起作用,但内滚动不起作用。
<div id='parentscroll' style='overflow: auto;height: 100px'>
something
<div id='innerscroll' style='overflow: auto;height: 50px'>
something
</div>
</div>
上面是我的代码我尝试滚动内部元素,但父元素只在触摸时滚动。
有什么方法可以滚动内部内容吗?
在网页查看?或者你在开发一个html5应用程序? –