Home > widget-integration > InstantSearchSelectors > isSymmetrySearchOpen

InstantSearchSelectors.isSymmetrySearchOpen() method

Check whether the Symmetry theme's search mode is active.

Symmetry adds a show-search class to document.body when its search overlay opens. When ISW closes it must remove this class first and delay the actual hide by 200 ms so the theme's CSS transition completes.

**Legacy**: document.body.classList.contains('show-search') inline check **New**: Dedicated predicate method

Signature:

isSymmetrySearchOpen(): boolean;

Returns:

boolean

true if the Symmetry search overlay is open