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

饼状图给label添加点击事件会走两遍 #3228

Closed
1 task
zhoustudent opened this issue Jan 21, 2021 · 4 comments
Closed
1 task

饼状图给label添加点击事件会走两遍 #3228

zhoustudent opened this issue Jan 21, 2021 · 4 comments
Assignees
Labels

Comments

@zhoustudent
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

直接点击label就可以

Environment Info
g2 4.1.7
System -
Browser -
@hustcc hustcc added the Event label Jan 29, 2021
@hustcc hustcc self-assigned this Jan 29, 2021
@hustcc
Copy link
Member

hustcc commented Jan 29, 2021

@zhoustudent 感谢反馈,已经收到多个这类两次事件触发的 issue,我会全部一次处理掉。

目前先暂时添加一个 debounce 来避免多次执行吧。

@zhoustudent
Copy link
Author

好,处理掉后,还希望能同步下

@visiky
Copy link
Member

visiky commented Feb 11, 2022

@connono 这个 demo ,可以尝试下定位原因

@hustcc
Copy link
Member

hustcc commented Aug 22, 2023

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.

@hustcc hustcc closed this as completed Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants