mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
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);
|
||||
scrollIntoViewIfNeeded(element);
|
||||
onHighlighted?.(undefined);
|
||||
onSelected?.(items[newIndex]);
|
||||
}}
|
||||
ref={itemListRef}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user