AntiPattern
Staking Context Focus Breakage
portal-stacking-context-focus-desync
Floating UI (Radix/Lexical portals, dropdowns, tooltips) ends up in the wrong DOM stacking context or focus lifecycle, so z-index/aria-hidden/refs desynchronize and users lose interaction, keyboard focus, or see overlays render above/below headers.