F2 icon indicating copy to clipboard operation
F2 copied to clipboard

F2 v5.0.30 点击饼图 PieLabel 本身时不触发onClick 事件,只有点击引申出来的文本时才会触发?

Open LiuJing1014 opened this issue 2 years ago • 2 comments

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

Reproduction link

https://f2.antv.antgroup.com/zh/examples/pie/pie/#pie-with-label

Steps to reproduce

直接使用官网demo即可重现,点击圆圈自身区域时是不会打印onClick函数中的data的

Environment Info
f2 5.0.30
System -
Browser -

LiuJing1014 avatar Jan 02 '24 09:01 LiuJing1014

会触发。 但是线很细,所以不容易触发

tangying1027 avatar Jan 04 '24 06:01 tangying1027

image demo中点击这些有颜色的区域是没有触发onClick事件的,你可以再试试

LiuJing1014 avatar Jan 04 '24 06:01 LiuJing1014