From 9dd8849b215b25e25bf3fb2073b1583ad0dfc4e9 Mon Sep 17 00:00:00 2001 From: Smittix Date: Wed, 4 Feb 2026 23:40:14 +0000 Subject: [PATCH] Fix proximity radar tooltip flicker on hover Separate SVG translate positioning from CSS hover scale by nesting device elements in two groups, preventing the CSS transform from overriding the position and causing rapid mouseenter/mouseleave cycling. Co-Authored-By: Claude Opus 4.5 --- static/js/components/proximity-radar.js | 28 +++++++++++++------------ 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/static/js/components/proximity-radar.js b/static/js/components/proximity-radar.js index 4b01547..e2e54fb 100644 --- a/static/js/components/proximity-radar.js +++ b/static/js/components/proximity-radar.js @@ -211,19 +211,21 @@ const ProximityRadar = (function() { const hitAreaSize = Math.max(dotSize * 2, 15); return ` - - - - ${isSelected ? ` - - - ` : ''} - - ${device.is_new && !isSelected ? `` : ''} - ${escapeHtml(device.name || device.address)} (${device.rssi_current || '--'} dBm) + + + + + ${isSelected ? ` + + + ` : ''} + + ${device.is_new && !isSelected ? `` : ''} + ${escapeHtml(device.name || device.address)} (${device.rssi_current || '--'} dBm) + `; }).join('');