问题描述
当我在Chrome中打开tablet
模式或phone
模式时,出现了JavaScript错误:
When I turn on the tablet
mode or the phone
mode in Chrome, I get a javascript error :
Uncaught TypeError: Failed to execute 'elementFromPoint' on 'Document': The provided double value is non-finite. at HTMLHtmlElement.avp.disableTouchSafari (viewer3D.min.js:18)
Uncaught TypeError: Failed to execute 'elementFromPoint' on 'Document': The provided double value is non-finite. at HTMLHtmlElement.avp.disableTouchSafari (viewer3D.min.js:18)
我刚刚将Chrome更新到最新版本.
I've just update Chrome to the last version.
有什么主意吗?
推荐答案
这可能是Forge Viewer的问题.不便之处,敬请原谅.
This might an issue of Forge Viewer. Apologizing for any inconvenience caused.
我已将请求 LMV-3401 [Autodesk.Viewing.Private.disableTouchSafari() reports error while viewing model with Chrome DevTools' Device Mode in macOS]
记录到我们的开发团队,以分配时间进行调查.由于需要进一步探索,并且可能需要对我们的查看器进行修改,因此请记下此编号,以备将来参考.
I have logged a request LMV-3401 [Autodesk.Viewing.Private.disableTouchSafari() reports error while viewing model with Chrome DevTools' Device Mode in macOS]
to our development team to allocate time to investigate. As it requires further exploration and possibly a modification to our Viewer, please make a note of this number for future reference.
欢迎您请求更新此请求的状态,或随时通过[email protected]
引用此请求编号以提供其他信息.
You are welcome to request an update on the status of this request or to provide additional information on it at any time quoting this request number via [email protected]
.
但是,我认为此错误不会影响Viewer的主要功能.同时,我认为在这种情况下,真正的移动设备会为您提供帮助,因为在我的Ipad上进行测试时并未显示此错误.
However, I think this error didn't affect main features of Viewer. At the meanwhile, I think a real mobile device will help you in this case since this error didn't show up while testing on my Ipad.
干杯
这篇关于Chrome上的JS错误(启用设备工具栏)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!