简体   繁体   English

在 Android 移动应用程序中滚动 Banno 数字工具包

[英]Scrolling Banno Digital Toolkit within Android Mobile App

I'm running into a very perplexing issue with the Banno Plugin iFrame on Android devices only.我在仅在 Android 设备上使用 Banno 插件 iFrame 时遇到了一个非常令人困惑的问题。 I'm unable to scroll within the iFrame.我无法在 iFrame 内滚动。 Do you have any example code or guidance on how to make this work?您是否有任何示例代码或有关如何使其工作的指南? Below is the css that I'm using to show the scrollbar.下面是我用来显示滚动条的 css。 I've also set it to scroll so which typically shows the scrollbar at all times.我还将其设置为滚动,因此通常始终显示滚动条。 It does work on iOS and any web browser including the mobile web browser.它适用于 iOS 和任何网络浏览器,包括移动网络浏览器。 Any help would be greatly appreciated.任何帮助将不胜感激。

Here is the css that I'm using within the iFrame这是我在 iFrame 中使用的 css

height: 400px; 

overflow-x: hidden; 

overflow-y: auto;
   
-webkit-overflow-scrolling: touch;

-ms-overflow-style: -ms-autohiding-scrollbar;

Scrolling in an iframe or embedded mobile browser is not ideal.在 iframe 或嵌入式移动浏览器中滚动并不理想。 But it should work with the following styles:但它应该适用于以下样式:

html, body { height: 100%; display: block; overflow: scroll; }

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM