absolute positioning
Placing an element at exact offsets inside its nearest positioned ancestor, taking it out of the normal page flow.
In more detail
Tooltips and virtualised list rows are often absolutely positioned. Such elements can still be clipped by an ancestor with overflow: hidden, which portals avoid.
Related terms
- overflow — The CSS property that decides what happens to content that does not fit in its box: show it, clip it or scroll it.
- list virtualization — Rendering only the rows of a long list that are currently visible, plus a few extra, instead of creating DOM nodes for every item.
Taught in
- React Portals: Escaping Stacking Contexts for Modals — React 19 & Modern Component Architecture
- Virtualization: Rendering Infinite Datasets Efficiently — React 19 & Modern Component Architecture