Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS设备HTMLImageElement,HTMLCanvasElement报错 #2

Open
tangchong opened this issue Mar 7, 2018 · 1 comment
Open

iOS设备HTMLImageElement,HTMLCanvasElement报错 #2

tangchong opened this issue Mar 7, 2018 · 1 comment

Comments

@tangchong
Copy link

tangchong commented Mar 7, 2018

在真机预览时,iOS设备(iPhoneX)启动时出现如下错误:
TypeError: Attempted to assign to readonly property.
Android设备上正常。

在注释掉HTMLImageElement,HTMLCanvasElement文件中的imageConstructor.proto.proto = new HTMLElement()和imageConstructor.proto.proto = new HTMLElement()后,报错消失。

望修复

@finscn
Copy link
Owner

finscn commented Mar 7, 2018

谢谢反馈. 已经移除了.

但是现在有个新问题. 那就是 image或canvas instanceof HTMLElement 的结果不为true了.

这个问题目前还没找到完美的解决方案

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants