Skip to content

Connection spanning multiple containers always on top #4950

@modbase

Description

@modbase

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

If you are technical, you should report bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.

Describe the bug

When a connection between elements in different containers is made, the line is always on top. Bringing the element to front has no impact, the line always stays on the front.

To Reproduce
Steps to reproduce the behavior:

  1. Draw 2 containers, e.g. vertical containers.
  2. Add an element to each container and draw a connection between the two.
  3. Add some text to one or both elements and set a background to the text.
  4. Try to put the element To Front to make the connection go behind the text's background.

Expected behavior

I would expect when I set a background on the text of an element, and I put the element To Front, that the line/connect is placed behind the background of the text.

Screenshots

Current behaviour:

Image

Expected result:

Image

draw.io version (In the Help->About menu of the draw.io editor):

  • draw.io version 26.0.16

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Edge
  • Browser Version: 134.0.3124.51

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:

  • No, using the desktop version

Additional context
None

Metadata

Metadata

Assignees

No one assigned

    Labels

    declineddeclinedwontfixstale bot automatic label

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions