diff --git a/src/components/Popover/Popover.test.tsx b/src/components/Popover/Popover.test.tsx index 5785b55..93a6c31 100644 --- a/src/components/Popover/Popover.test.tsx +++ b/src/components/Popover/Popover.test.tsx @@ -434,6 +434,53 @@ describe('Popover', () => { ); }); + it('restores focus after Escape closes a popover that moved focus', async () => { + render( + Inside} label="Actions"> +