Prevent recipient popover from flashing at top-left corner

Fixkamo-internal
Shipped
March 20, 2026 at 5:14 PM UTC
Author
kamo
Commit
acbac13

The popover initialized at position {0,0} and repositioned in a useEffect (after paint), causing a visible fly-in from the top-left. Fixed by using useLayoutEffect (runs before paint) and starting the popover off-screen with visibility:hidden until positioned. A subtle opacity fade replaces the slide animation.

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