gpt4 book ai didi

javascript - iframe 在小型设备上无法正常运行

转载 作者:行者123 更新时间:2023-11-27 23:19:18 27 4
gpt4 key购买 nike

以下链接可公开访问,并且在所有情况下都可以正常工作: https://partner.unblnd.com/swipe/1?widget=true

但是当在 iframe 中包含链接时,它无法在小型设备(开发人员控制台 - iphone)上正常工作。视觉上一切正常,但实际上定位不正确。

它包含在页面http://thewhiskyhouse.com/如下:

<iframe id="unblnd-iframe-stack1" src="https://partner.unblnd.com/swipe/1?widget=true" width="100%" height="800px" white="true" scrolling="true" frameborder="0" allowtransparency="true"></iframe>

没有什么区别,因为是同一个链接,但是iframe怎么定位不正确,移动端就不能正常工作呢?

小屏幕上的问题如下所示,当您单击按钮时没有任何反应,但单击下方附近的某个地方,这没有任何意义... Visually differently positioned than click events

Wrong positioning on small devices

最佳答案

从第一张图片来看,我在 Chrome 中看起来不错。你用的是火狐吗?如果是这样,也许试试 chrome。
pic2

我认为问题在于右侧的滚动功能,您可以将其更改为 false,但您可能会需要它。

pic

关于javascript - iframe 在小型设备上无法正常运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58107244/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com