Home > widget-integration > InstantSearchSelectors > releaseThemeScrollLock
InstantSearchSelectors.releaseThemeScrollLock() method
Release a theme scroll lock left behind by a dialog ISW closed.
Only acts when ISW is the owner of the stale lock ( saw it survive) and nothing else still legitimately holds it — an open drawer or another modal keeps its lock untouched, see .
Signature:
releaseThemeScrollLock(): boolean;
Returns:
boolean
True if the lock was released