Keep instant search results hover open to edit with Chrome tools
Asked Answered
T

3

5

We are trying to customize the Algoila instant results hover menu to fit our custom Magento theme. Does anyone know of a way to keep the instant result menu open so we can inspect elements using Chrome tools?

Transitory answered 13/1, 2016 at 19:33 Comment(0)
A
7

You can put the following debug flag to true:

  var options = {
      hint: false,
      templates: {
          dropdownMenu: '#menu-template'
      },
      dropdownMenuContainer: "#algolia-autocomplete-container",
      debug: true // to inspect the dropdown menu
  };

The associated documentation is here.

Affable answered 13/1, 2016 at 20:26 Comment(0)
C
1

Alternatively, open Chrome developer tools, go to the 'source' tab and from there you can click Cmd + \ to pause the script whilst the dropdown is visible.

Crat answered 18/5, 2017 at 6:59 Comment(0)
H
0

There is an option for elements state on the right side of the development tools:

See Screen capture

Hypersensitive answered 15/12, 2021 at 18:43 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.