JS error on Chrome (with Device Toolbar enable)

让人想犯罪 __ 提交于 2019-12-23 05:34:18

问题


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)

I've just update Chrome to the last version.

Any idea?


回答1:


This might an issue of Forge Viewer. Apologizing for any inconvenience caused.

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.

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 forge.help@autodesk.com.

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.

Cheers,



来源:https://stackoverflow.com/questions/50768367/js-error-on-chrome-with-device-toolbar-enable

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!