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

给annotation的region绑定点击事件,获取的event对象中的start和end与传入的start和end不同。 #2820

Closed
1 task
Echo-pain-killer opened this issue Sep 11, 2020 · 2 comments

Comments

@Echo-pain-killer
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

使用annotation().region()绘制区域,给区域绑定点击事件,在得到的event对象中获取开始和结束时间,发现和传入的不一致

Environment Info
g2 4.0.15
System window10
Browser chorme版本 80.0.3987.132(正式版本) (64 位)

期望获取的时间和传入的时间能一致

@xuhen
Copy link

xuhen commented Dec 21, 2020

how do you use region?

@hustcc
Copy link
Member

hustcc commented Jan 29, 2021

image

seem right? @Echo-pain-killer

@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
Projects
None yet
Development

No branches or pull requests

3 participants