diff --git a/js/src/features/particles/text-edit-overlay.tsx b/js/src/features/particles/text-edit-overlay.tsx index b91f9de..19f29cd 100644 --- a/js/src/features/particles/text-edit-overlay.tsx +++ b/js/src/features/particles/text-edit-overlay.tsx @@ -51,7 +51,10 @@ export function TextEditOverlay({ }, [saving, textContent, particle.properties.content, particle.id, streamPath, onClose]); return createPortal( -
+ // React synthetic events bubble through the React tree (not the DOM tree), + // so clicks here would reach stream-view's click-to-navigate handler even + // though we're portaled to document.body. Stop propagation at the root. +
e.stopPropagation()}>