We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d4f992 commit 6f07df3Copy full SHA for 6f07df3
src/components/search/SearchBox.tsx
@@ -220,6 +220,7 @@ function ValueSuggestPopup({
220
{values.map((v, i) => (
221
<TagItem
222
key={v}
223
+ ref={i === activeIndex ? (el) => el?.scrollIntoView({ block: "nearest" }) : undefined}
224
role="option"
225
aria-selected={i === activeIndex}
226
data-active={i === activeIndex || undefined}
@@ -251,6 +252,7 @@ function SearchTagPopup({
251
252
{tags.map((t, i) => (
253
254
key={t.tag}
255
256
257
258
0 commit comments