Skip to content

Fix group node text unreadable when glow highlight is applied #92

@andypalmi

Description

@andypalmi

Description

When a group node is highlighted in the comparison view, the glow SVG filter is applied to the entire <g> element, which includes the <text> label. This makes the group's label text unreadable (blurred/glowing).

Changes

  • Add glowTarget helper that detects group nodes (via .flow_group_select container) and applies the glow filter to the <rect> child only
  • Update clearHighlight to also clear rect.style.filter on group node children

Context

Part of FlowFuse/flowfuse#7062 — snapshot diff viewer investigation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions