【问题标题】:issue with buttons inside embeddded iframe with IOS 12.2IOS 12.2嵌入式iframe内的按钮问题
【发布时间】:2019-04-15 08:56:34
【问题描述】:

我的网络中有一个嵌入式 iframe,它一直运行良好,直到最新的 IOS 12.2。 iframe 内的按钮不再起作用,当您按下其中一个按钮时,iframe 会向上滚动。

在网站之外,iframe 可以完美运行。

有人可以帮我吗?

<div class="dmRespCol large-12 medium-12 small-12" style="position:relative;padding-top:100%;overflow:scroll;-webkit-overflow-scrolling:touch;" id="1397547096">
 <iframe src="iframe_url" frameborder="0" height="100%" width="100%" allowfullscreen="0" seamless="" style="position:absolute;top:0;left:0;width:100%;height:100%;" id="1432099930">
 </iframe>
</div>

【问题讨论】:

    标签: ios iphone button iframe


    【解决方案1】:

    问题与滚动有关,因此添加一个大的 padding-top 和 padding-bottom 一切正常,但它仍然不是最佳解决方案,因为它在某些设备中添加了一个大的空白区域。

    【讨论】:

      猜你喜欢
      • 2018-11-17
      • 2016-06-14
      • 2013-08-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-11-26
      • 1970-01-01
      • 2016-09-16
      相关资源
      最近更新 更多