antvis / antvis/G6

Dragging a combo hides edges

Open
#5,948 1 comment 0 reactions 0 assignees View on GitHub
element v5
Dominant language
TypeScript
Stars
12.3k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug / 问题描述

when you enable the drag-element behavior and drag a combo, every link connected to its nodes is obscured by the layout of the combo, as if it had a lower z-index".

![red](https://github.com/antvis/G6/assets/79913332/8da6e311-2b1f-4fc4-8378-a16714ed3d69)

### Reproduction link / 重现链接

_No response_

### Steps to Reproduce the Bug or Issue / 重现步骤

1) it is possible to verify this behavior in the playground -> custom combo -> extra box by adding a background to the combo
for example: combos: [{ id: 'combo-0', style:{fill:'red', fillOpacity:1 }}],

2) then drag the combo

### G6 Version / G6 版本

🆕 5.x

### Operating System / 操作系统

Linux

### Browser / 浏览器

Chrome

### Additional context / 补充说明

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in the playground at custom combo → extra box and reproduce the issue by adding a red, opaque background to combo-0, then dragging the combo. Trace the drag-element behavior and combo rendering involved in that example. Done means links connected to the combo's nodes remain visible above or outside the combo background while it is dragged.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.