IsKaros
IsKaros
### 问题描述 元素动画中,边上做点的动画在react组件销毁,切换页面之后还是有在做动画。 这个可以通过浏览器的开发者工具-性能面板可以看到一直有占用cpu。官网的demo就有这个问题。 ### 重现链接 https://antv-g6.gitee.io/zh/examples/gallery#category-%E8%BE%B9%E5%8A%A8%E7%94%BB ### 重现步骤 1.进入带有边动画的页面 2.图表渲染完后,返回上一个页面 3.打开开发者工具的performance面板 ### 预期行为 我期望组件销毁之后动画就不再执行,图表相关的任何动画都不再执行。实际却是切换页面的时候,动画还是在进行,CPU被占用,当动画的边特别多的时候,CPU占用率会很高。 ### 平台 - 操作系统: [ Windows] - 网页浏览器: [Google Chrome] - G6 版本: [4.0.3 ]...
[中文版模板 / Chinese template](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE_CN.md?plain=1) ### 🤔 This is a ... - [ ] 🆕 New feature - [ ] 🐞 Bug fix - [x] 📝 Site / documentation improvement -...
### 这个功能解决了什么问题? 满足有定制化展示item的场景  ### 你期望的 API 是什么样子的? 新增一个插槽选项
**Troubleshoot** - [ ] Before creating an issue, please check: https://typicode.github.io/husky/troubleshoot.html If you're migrating from husky 4, see: https://typicode.github.io/husky/migrate-from-v4.html **Context** I'm using gitlens in the cursor/vscode to commit my code,...