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.
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
glowTargethelper that detects group nodes (via.flow_group_selectcontainer) and applies the glow filter to the<rect>child onlyclearHighlightto also clearrect.style.filteron group node childrenContext
Part of FlowFuse/flowfuse#7062 — snapshot diff viewer investigation.