diff --git a/src/components/account-info.jsx b/src/components/account-info.jsx index 9f7c3695..87d45191 100644 --- a/src/components/account-info.jsx +++ b/src/components/account-info.jsx @@ -536,8 +536,10 @@ function RelatedActions({ info, instance, authenticated }) { // Higher than the backdrop zIndex: 1001, }, - onClick: () => { - menuInstanceRef.current?.closeMenu?.(); + onClick: (e) => { + if (e.target === e.currentTarget) { + menuInstanceRef.current?.closeMenu?.(); + } }, }} align="center"