-
-
Notifications
You must be signed in to change notification settings - Fork 537
Open
Labels
Feature RequestV6It might get fixed/merged before, but most likely only on V6's release.It might get fixed/merged before, but most likely only on V6's release.
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.
Metadata
Metadata
Assignees
Labels
Feature RequestV6It might get fixed/merged before, but most likely only on V6's release.It might get fixed/merged before, but most likely only on V6's release.