Revert email link click handlers, isolate cause

Fixkamo-internal
Shipped
June 9, 2026 at 10:55 PM UTC
Author
kamo
Commit
ded41a9

User reports email-preview link clicks still do nothing AND text selection is killed mid-drag. Right-click and hover both work, so the anchor element is intact and the URL is valid. Three attempts at intercepting the click (window.open, useEffect target=_blank, capture-phase synthetic anchor click) all failed to restore navigation. Strip every renderer-side click handler I added so the sanitizer's target="_blank" is the only thing in play. If clicks now open in the same tab, target="_blank" isn't being applied at runtime and the issue is in the sanitizer/DOMPurify pipeline. If clicks still do nothing after this, the cause is upstream of SanitizedEmailRenderer entirely and I need to look at MessageBrowser mount churn (SW registers 4 times on load) and the wider mousedown/selection path. NavigationInterceptor's target=_blank skip from b62ea7e4 stays.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing