Home > widget-integration > InstantSearchSelectors > hasActiveThemeScrollLockSource

InstantSearchSelectors.hasActiveThemeScrollLockSource() method

Check whether something other than the dialogs ISW closed still holds a theme scroll lock.

Sources considered: - any open dialog we did not close ourselves (cart drawer, menu modal) - <details scroll-lock open> elements, which Horizon locks on toggle

Signature:

protected hasActiveThemeScrollLockSource(): boolean;

Returns:

boolean

True if a live lock source exists