Prevent recipient popover from flashing at top-left corner

Fixkamo-internal
Navios
20 de março de 2026 às 17:14 UTC
Autor
kamo
Enviar
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.

Todas as alterações

Como o que vês no transporte?

Cada uma dessas atualizações pousa automaticamente em seu espaço de trabalho. Comece grátis e veja crescer semana após semana.

Começar Livre Para SempreVer Preços