-
Notifications
You must be signed in to change notification settings - Fork 649
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
在IOS12上,反复切换SPA路由多次后,页面白屏 #630
Labels
Comments
我这边遇到了同样的问题,目前有什么方法解决吗 |
这个问题怎么解决 |
????? |
??? |
???????????? |
建议先不走spa。后期解决在走spa |
zengyue
added a commit
that referenced
this issue
Mar 18, 2020
zengyue
added a commit
that referenced
this issue
Mar 18, 2020
fix: ios spa多次创建导致canvas白屏。Closed #630
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
react-router: 5.0.1
react: 16.8.4
F2图表嵌套在React组件中,在组件生命周期componentWillUnmount中调用chart.destroy()方法销毁图表。当SPA反复切换路由时(前进后又后退),一开始表现正常。大约往复10次后,页面上的大部分图表变成空白(部分正常显示)。此时即使刷新页面图表也无法正常显示,必须关闭浏览器窗口重开。
以上问题在IOS12的iPhone上必现。怀疑页面的canvas缓存没有正确释放。
The text was updated successfully, but these errors were encountered: