mirror of
https://github.com/suitenumerique/meet.git
synced 2026-10-23 13:05:57 +00:00
fc1b1c2d49
A React Aria overlay is rendered at `top: 0; left: 0` until `useOverlayPosition` computes its position, and `data-placement` is only set once that succeeds. When the pointer moves quickly between triggers, a closing tooltip can mount for its exit animation without ever being positioned, React Aria does not retry, so it stays stuck in the top-left corner. Hide tooltips until they have a `data-placement` set, so unpositioned tooltips never flash in the corner. Use `visibility` rather than `display: none`, so the element stays measurable for the positioning pass.