ipad/iphone 滚动 div - 出现滚动条
我有一个单页应用程序,其中滚动 DIV 作为 iPhone/iPad 应用程序 UI 的一部分。
在 HTML 中,如何让 div 显示滚动条,以直观地向用户指示该区域可以滚动?
伊恩
I have a single page app which has scrolling DIVs as part of the UI on our iPhone/iPad app.
In HTML how do I get the div to show a scroll bar to visually indicated to the user that the area can scroll?
Ian
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Mobile safari 特别禁用溢出的可滚动 div 上的滚动条。如果不构建自己的可滚动 div 视觉指示器,就没有简单的方法来启用此功能。
Mobile safari specifically disables scroll bars on overflowing scrollable divs. There is no easy way to enable this without building your own scrollable div visual indicator.