Detached Mode turns the dropdown display into a full screen, modal experience.
This page is a draft.
Autocomplete Detached aims at reproducing native experiences on the device you're using. It doesn't display a native input with results in a dropdown, but a search button with results in a modal. This allows a more immersive experience where the full viewport is used to display results.
Autocomplete's default behavior enables Detached mode when the screen is below 500px wide. You can customize this behavior with the
Once you're Detached, you can choose to enable the modal design, which shows the website in the background covered by an overlay. You can set when to enable this design with the
--aa-detached-modal-media-query CSS variable, which defaults to
To always enable Detached Mode, you can pass
To always disable Detached Mode, you can pass