Inline list below the search input
+Suggestions render as a vertical list between the search bar and the GIF grid. Tapping a suggestion fills the search field and triggers a GIF search. Simple, no z-index or portal concerns inside the dialog.
+diff --git a/.superpowers/brainstorm/86663-1776187526/content/design-overview.html b/.superpowers/brainstorm/86663-1776187526/content/design-overview.html new file mode 100644 index 0000000000..249253650e --- /dev/null +++ b/.superpowers/brainstorm/86663-1776187526/content/design-overview.html @@ -0,0 +1,173 @@ +
Inline search suggestions powered by Klipy's autocomplete endpoint
+ +GIF_KLIPY_AUTOCOMPLETE endpointuseKlipyAutocompleteQuery hook
+ ARIA: input gets role="combobox" + aria-controls, list gets role="listbox",
+ items get role="option" + aria-selected. ~30 lines of onKeyDown handling on web only.
+
As you type in the GIF search box, where do completion suggestions show up?
+ + + +Continuing in terminal...
+