Skip to content

[Bug]: Connection's content with fConnectionContent directive are ignored during selection #232

@baloghbence0915

Description

@baloghbence0915

Reproduction URL (StackBlitz, GitHub, etc.)

No response

Steps to Reproduce

  1. Preparation: Create 2 nodes
  2. Preparation: Create connection between these nodes (connection should have a content child with fConnectionContent directive)
  3. UI: Click on connection
  4. UI: Click on connection's content

Expected Behavior

  1. Connection will be selected
  2. Connection stays selected

Actual Behavior

  1. Connection will be selected
  2. Connection will be unselected

Sorry for not bringing a sandbox for this, but this behavior can be obseved among the official examples as well, here: https://flow.foblex.com/examples/connection-content (see recording).

2025-10-10_15h14_54.mp4

Some investigation notes:
I believe this is a bug, since in case of the deprecated fConnectionCenter there was a check for this in order to keep the connection selected when user clicked connection center:
https://github.com/Foblex/f-flow/blob/main/projects/f-flow/src/f-draggable/f-single-select/f-single-select.execution.ts#L88

Browser

Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueneeds investigationA member of the team needs to do further investigation to determine the root cause

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions