KamoCRM

Prevent recipient popover from flashing at top-left corner

Fixkamo-internal
Shipped
20 மார்ச், 2026 அன்று 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?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing