antvis/G6

edge disappears on selection, using SVG renderer #3895

ensconced posted onGitHub

Describe the bug

When using the SVG renderer, selecting an edge causes it to disappear.

Your Example Website or App

https://stackblitz.com/edit/react-btcnz7-eevgj8?file=index.js,index.html

Steps to Reproduce the Bug or Issue

  1. open the stackblitz link
  2. click the "select edge" button
  3. the edge disappears

Expected behavior

The behaviour should be the same as with the canvas renderer; the edge should remain visible and be displayed with the default selection styles.

Screenshots or Videos

edge

Platform

  • OS: macOS
  • Browser: tested on chrome and firefox - the issue is present on both
  • Version: chrome 104.0.5112.101, @antv/g6 4.7.0

Additional context

No response


In the latest G6 5.0, this issue has been fixed. (By ClickElement behavior)

posted by Aarebecca 12 months ago

Fund this Issue

$0.00
Funded

Pull requests