G2
G2 copied to clipboard
饼状图给label添加点击事件会走两遍
- [ ] I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
Steps to reproduce
直接点击label就可以
| Environment | Info |
|---|---|
| g2 | 4.1.7 |
| System | - |
| Browser | - |
@zhoustudent 感谢反馈,已经收到多个这类两次事件触发的 issue,我会全部一次处理掉。
目前先暂时添加一个 debounce 来避免多次执行吧。
好,处理掉后,还希望能同步下
@connono 这个 demo ,可以尝试下定位原因
Sorry, due to problems in the program's architecture design, we are unable to effectively fix the issues. But it is fixed in G2 5.0, you can have a try.