Home > widget-integration > StickyService > getTopOffsetSettleDelays

StickyService.getTopOffsetSettleDelays() method

Delays used to follow a theme header show/hide animation after scroll or resize.

Themes animate their header out over ~200-300ms, and the last scroll event fires before that animation ends, so the top offset computed during the scroll is stale. Override when a theme uses a longer transition.

Signature:

protected getTopOffsetSettleDelays(): number[];

Returns:

number[]