Let native target=_blank open the new tab, drop window.open

Fixkamo-internal
Shipped
May 28, 2026 at 9:02 PM UTC
Author
kamo
Commit
82fd83e

The previous fix intercepted the click and called window.open() — but popup blockers and extensions can block window.open even from a direct click handler, so the link silently failed to open. Native anchor clicks with target="_blank" are never blocked. Drop the click interceptor. Keep a useEffect that re-asserts target="_blank"/rel="noopener noreferrer" on every anchor after render so the new-tab behavior survives any future DOM mutation. The NavigationInterceptor fix from b62ea7e4 still keeps the global loading overlay from getting stuck on outbound clicks.

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