Open
Description
Rendering tooltips inside a portal would resolve issues caused position absolute/fixed. Fixed works in most cases, but some libraries like Storybook use transform/scale
on their story containers which counts as a new "container" for position: fixed
elements. This causes the tooltip to render incorrectly in auto-generated storybook documents because the x/y are based in the viewport, but the container is no longer the viewport. The tooltips appear at incorrect locations and often cause overflow/scrolls in storybook.
Rendering in portals is a common solution to this, our context/dropdown menu and select input libraries use this for rendering the menus.