fix(trace): update snapshot on keyboard selection (#21169)
This commit is contained in:
parent
8ccc02a9d3
commit
d3e4fc6343
|
|
@ -77,6 +77,7 @@ export const ListView: React.FC<ListViewProps> = ({
|
||||||
}
|
}
|
||||||
const element = itemListRef.current?.children.item(newIndex);
|
const element = itemListRef.current?.children.item(newIndex);
|
||||||
scrollIntoViewIfNeeded(element);
|
scrollIntoViewIfNeeded(element);
|
||||||
|
onHighlighted?.(undefined);
|
||||||
onSelected?.(items[newIndex]);
|
onSelected?.(items[newIndex]);
|
||||||
}}
|
}}
|
||||||
ref={itemListRef}
|
ref={itemListRef}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue