Home > widget-integration > InstantSearchSelectors > isSuggestionVisible

InstantSearchSelectors.isSuggestionVisible() method

Check whether the suggestion panel is currently visible.

The panel is considered visible when its wrapper element exists and does **not** have the boost-sd__g-hide CSS class.

**Legacy**: isSuggestionOpening(suggestionSelector) **New**: Method that resolves the wrapper internally

Signature:

isSuggestionVisible(): boolean;

Returns:

boolean

true if the suggestion panel is visible