F2 icon indicating copy to clipboard operation
F2 copied to clipboard

初始化时,给定宽高,导致绑定的点击事件获取位置有偏差

Open KID-joker opened this issue 2 years ago • 0 comments

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

点击第一个折线图,发现要左偏移一点才能点到对应的位置; 点击第二个折线图,发现获取的点位置是超出范围的,导致拿不到data; https://drive.google.com/file/d/1m6BEcdYbLGVkDxcjGlOrKzeLI02SlHJ9/view?usp=sharing

Environment Info
f2 3.8.8
System -
Browser -

KID-joker avatar Aug 09 '21 08:08 KID-joker