Prevent recipient popover from flashing at top-left corner

Fixkamo-internal
已装运
2026年3月20日 17:14 UTC
作者
kamo
提交
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.

所有更改

就像你看到的运输?

每一个都自动更新您工作空间的地盘。 开始自由,看它成长 一周又一周.

永远开始自由查看定价