mirror of
https://github.com/suitenumerique/meet.git
synced 2026-10-10 07:14:30 +00:00
a6a12ef586
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.