Function getStackingContext
- get
Stacking (node, activeWindow?): StackingContext | undefinedContext Returns StackingContext | undefined
The closest parent stacking context or undefined if none.
The closest parent stacking context or undefined if none.
Recursive function that finds the closest parent stacking context. See also https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context
Original author: Kerry Liu / https://github.com/gwwar