Email-preview links open in a new tab again

Fixkamo-internal
Shipped
May 28, 2026 at 8:07 PM UTC
Author
kamo
Commit
b62ea7e

The sanitizer already sets target="_blank" on every link, but the document-level click handler in NavigationInterceptor was firing for every link click — including target="_blank" ones — and flipping the global loading overlay on. The current tab never navigates, so the overlay never clears, hiding the new tab behind a stuck loading screen. NavigationInterceptor now mirrors useNavigationLoading's filters (target/origin/scheme/modifier checks), and SanitizedEmailRenderer intercepts link clicks directly so email links always open via window.open regardless of any other listener in the document.

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