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

实测,不支持 canvas。 #176

Closed
lifegit opened this issue Mar 16, 2022 · 3 comments
Closed

实测,不支持 canvas。 #176

lifegit opened this issue Mar 16, 2022 · 3 comments

Comments

@lifegit
Copy link

lifegit commented Mar 16, 2022

请问有什么解决方案吗?
要是不行,只能回退到 display:none 方案了。

环境:antd pro + umi3

@lifegit lifegit closed this as completed Apr 17, 2022
@CJY0208
Copy link
Owner

CJY0208 commented Apr 18, 2022

还以为回复过了= = 有可能是和 iframe #97 类似的行为,进行 dom 移位操作后,会丢失状态,如果是这个原因,那可能就无解了

@lifegit
Copy link
Author

lifegit commented Apr 18, 2022

但是把,重装过一次依赖后,又神奇的好了

@CJY0208
Copy link
Owner

CJY0208 commented Apr 18, 2022

??这么神奇,我还以为又一个 iframe 了= =我没写过 demo 测试 canvas 的行为

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