Skip to content

Commit

Permalink
cherry-pick(#21169): fix(trace): update snapshot on keyboard selection
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelfeldman committed Feb 23, 2023
1 parent 81d2394 commit 4b3932d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/web/src/components/listView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export const ListView: React.FC<ListViewProps> = ({
}
const element = itemListRef.current?.children.item(newIndex);
scrollIntoViewIfNeeded(element);
onHighlighted?.(undefined);
onSelected?.(items[newIndex]);
}}
ref={itemListRef}
Expand Down

0 comments on commit 4b3932d

Please sign in to comment.