iPhone 和 iPad 上的 Safari 在缩放(双击并捏合)时崩溃

发布于 2024-12-08 20:35:11 字数 307 浏览 1 评论 0原文

我在使用 Wordpress 运行的网站时遇到问题:http://www.igorlipinski.com - Safari 冻结并最终在 iOS 设备上使用缩放选项(双击或捏合缩放选项)时会崩溃。它在桌面浏览器上看起来和工作得很好。我无法完全找到问题所在...有什么想法吗?提前致谢!

更新:我在 iPhone 上禁用了 javascript,并且该网站运行良好,所以至少我知道现在该去哪里查看!如果有人对这个特定网站有直接的解决方案,我将不胜感激,但我会同时处理它。

I have a problem with a Wordpress-run website: http://www.igorlipinski.com - Safari freezes and eventually crashes on iOS devices while using the zoom option, either double tap or pinch to zoom option. It looks and works very well on desktop browsers. I can't quite locate the problem... any thoughts? Thanks in advance!

UPDATE: I disabled javascript on my iPhone and the site worked beautifully, so at least I know where to look now! I would appreciate if anyone had a direct solution for this particular site, but I will work on it in the meantime.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我也遇到过类似的问题。发现 canvas 绘图存在问题。
基本上,画布绘制存在一个问题。当我们使用画布的方法(如drawRect()、lineTo()、moveTo()等)绘制或擦除某些内容时...它将创建额外的图层(如画布上的像素),这会导致ipad/手机的safari浏览器出现内存泄漏问题。

我仍在寻找使用画布时内存泄漏的解决方案/替代方案。

希望这能帮助您找到与您的项目相关的任何线索。

I have faced similar kind of issue. Found issue with canvas drawing.
Basically there is one issue with canvas drawing. when we draw or erase something using canvas's methods like drawRect(), lineTo(), moveTo(), etc... it will create extra layer (like pixels on canvas) which causes memory leakage issue in safari browser for ipads/mobiles.

I am still looking for solution/alternative for memory leakage while using canvas.

Hope this will help you find any clue related to your project.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文