G6 icon indicating copy to clipboard operation
G6 copied to clipboard

shadow is not cleared when clearing selection, using SVG renderer

Open ensconced opened this issue 2 years ago • 1 comments

问题描述

The node shadow is not cleared when a node is de-selected.

重现链接

https://stackblitz.com/edit/react-btcnz7-srwe1e?file=index.js

重现步骤

  1. Click the node to select it - the shadow appears
  2. Click the canvas to de-select the node

预期行为

I expected the shadow to disappear when clicking the empty canvas to de-select the node. But instead it remains there.

平台

-macOS

  • tested Chrome and Firefox - the issue is present on both
  • G6 4.7.0

屏幕截图或视频(可选)

blur-bug

补充说明(可选)

No response

ensconced avatar Aug 27 '22 07:08 ensconced

Yes, there are some problems still remain in SVG renderer. But I'm afraid they could not be solved recently. we suggest to use canvas renderer instead.

Yanyan-Wang avatar Sep 02 '22 10:09 Yanyan-Wang