From 607ede10e7f252f204d71744f3ed1f95d2642466 Mon Sep 17 00:00:00 2001 From: Stephen Watkins Date: Fri, 18 Aug 2023 12:29:58 -0400 Subject: [PATCH 1/2] fix(Menu): return focus to trigger after closing menu --- easy-ui-react/src/Menu/MenuOverlay.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/easy-ui-react/src/Menu/MenuOverlay.tsx b/easy-ui-react/src/Menu/MenuOverlay.tsx index 233b2f46..390affe4 100644 --- a/easy-ui-react/src/Menu/MenuOverlay.tsx +++ b/easy-ui-react/src/Menu/MenuOverlay.tsx @@ -2,7 +2,7 @@ import { CollectionChildren } from "@react-types/shared"; import React, { Key } from "react"; import { DismissButton, - OverlayContainer, + Overlay, Placement, mergeProps, useMenu, @@ -119,7 +119,7 @@ function MenuOverlayContent(props: MenuOverlayProps) { } as React.CSSProperties; return ( - +
(props: MenuOverlayProps) {
-
+ ); } From 6ae2110142c334c20f0d2b467e60655ffbb343a8 Mon Sep 17 00:00:00 2001 From: Stephen Watkins Date: Fri, 18 Aug 2023 12:30:46 -0400 Subject: [PATCH 2/2] add changeset --- .changeset/silent-beans-try.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/silent-beans-try.md diff --git a/.changeset/silent-beans-try.md b/.changeset/silent-beans-try.md new file mode 100644 index 00000000..389f54a0 --- /dev/null +++ b/.changeset/silent-beans-try.md @@ -0,0 +1,5 @@ +--- +"@easypost/easy-ui": patch +--- + +fix(Menu): return focus to trigger after closing menu