Home > widget-integration > StickyService > elevateAncestorStackingContexts

StickyService.elevateAncestorStackingContexts() method

Promotes ancestors so sticky toolbar UI can render above theme stacking contexts.

Signature:

protected elevateAncestorStackingContexts(element: HTMLElement | null | undefined, zIndex: string, originalStyles: Map<HTMLElement, {
		position: string;
		zIndex: string;
	}>): void;

Parameters

Parameter

Type

Description

element

HTMLElement | null | undefined

zIndex

string

originalStyles

Map<HTMLElement, { position: string; zIndex: string; }>

Returns:

void