Skip to main content
Prefer using the Autocomplete widget from InstantSearch instead of the standalone Autocomplete library. It integrates more closely with your search experience. For more information, see the API reference for InstantSearch.js or React InstantSearch.

Use debug mode to inspect panel elements

Set the debug option to true to keep the panel open. Use this while you inspect elements in your browser DevTools. This option defaults to false. Then the autocomplete panel closes when the blur event occurs. Only use this option during development.

Emulate a focused page in Chrome DevTools

You can enable the โ€œEmulate a focused pageโ€ option from Chrome DevTools. This keeps the autocomplete panel open while you inspect the DOM. Screenshot of the 'Rendering' tab in Chrome DevTools with 'Emulate a focused page' checked.
You can also find this option by pressing Cmd+Shift+P or Ctrl+Shift+P and searching for it.
Screenshot of the Chrome DevTools Rendering options menu showing 'Emulate a focused page' selected.

Help and discussion

If youโ€™re having trouble implementing Autocomplete, or have questions or feature requests, reach out on GitHub Discussions or join the community on Algoliaโ€™s Discord server.
Last modified on September 16, 2026