Graphin icon indicating copy to clipboard operation
Graphin copied to clipboard

Bug: 使用关联高亮时候,如果有节点icon是图片,另外节点hover上会显示该图片

Open ColinChen2 opened this issue 4 years ago • 2 comments

Describe the bug Screen Shot 2021-07-26 at 3 52 21 PM

To Reproduce https://codesandbox.io/s/ecstatic-mccarthy-ppn2w?file=/App.tsx

Expected behavior 正常显示节点,icon不管是font还是image。不关联则不显示

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

ColinChen2 avatar Jul 26 '21 07:07 ColinChen2

Can confirm this is happening when image is used.

Although the code is a bit hard to read, I suspect the issue is somewhere here - https://github.com/antvis/Graphin/blob/master/packages/graphin/src/shape/graphin-circle.ts#L337

genert avatar Jul 30 '21 15:07 genert

I have the same problem, now how to solve it?

gaomAndximi avatar Apr 13 '23 03:04 gaomAndximi