[Bug]: 饼图动画十分诡异
- Dominant language
- TypeScript
- Stars
- 12.6k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug / 问题描述
https://github.com/user-attachments/assets/1103a68e-d8b9-47f9-ae4d-cfc56a26b470
### Reproduction link / 复现链接
https://g2.antv.antgroup.com/examples/general/pie/#pie-base
### Steps to Reproduce the Bug or Issue / 重现步骤
点 legend 关闭扇形,直到只剩下最后一个,前面都是扇形动画,到最后一两个就变成了一种很奇怪的动画效果
### Version / 版本
🆕 5.x
### OS / 操作系统
- [x] macOS
- [ ] Windows
- [ ] Linux
- [ ] Others / 其他
### Browser / 浏览器
- [x] Chrome
- [ ] Edge
- [ ] Firefox
- [ ] Safari (Limited support / 有限支持)
- [ ] IE (Nonsupport / 不支持)
- [ ] Others / 其他
Contributor guide
Research direction
Start with the pie chart example at https://g2.antv.antgroup.com/examples/general/pie/#pie-base and reproduce the animation by disabling legend sectors until one or two remain in Chrome on macOS. Trace the pie animation behavior from that example and verify that the final sectors animate consistently with the earlier ones.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100