Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dragging a combo hides edges #5948

Open
bartoval opened this issue Jun 27, 2024 · 1 comment
Open

Dragging a combo hides edges #5948

bartoval opened this issue Jun 27, 2024 · 1 comment
Labels
element Issue about elements v5

Comments

@bartoval
Copy link

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

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

@Aarebecca
Copy link
Contributor

Aarebecca commented Jun 28, 2024

In fact, during the process of dragging an element, it is moved to the topmost layer, which is the primary cause of edges being obscured. We will consider whether to apply this action to the connected edges of the target element as well.

@yvonneyx yvonneyx added v5 element Issue about elements labels Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
element Issue about elements v5
Projects
None yet
Development

No branches or pull requests

3 participants