diff --git a/src/app/AppLayout/AppLayout.tsx b/src/app/AppLayout/AppLayout.tsx index 07daa0119..e61d3e415 100644 --- a/src/app/AppLayout/AppLayout.tsx +++ b/src/app/AppLayout/AppLayout.tsx @@ -424,6 +424,8 @@ export const AppLayout: React.FC = ({ children }) => { > )} isOpen={showHelpDropdown} + onOpenChange={(v) => setShowHelpDropdown(v)} + onOpenChangeKeys={['Escape']} popperProps={{ position: 'right', }} @@ -437,6 +439,8 @@ export const AppLayout: React.FC = ({ children }) => { onSelect={() => setShowUserInfoDropdown(false)} toggle={UserInfoToggle} isOpen={showUserInfoDropdown} + onOpenChange={(v) => setShowUserInfoDropdown(v)} + onOpenChangeKeys={['Escape']} popperProps={{ position: 'right', }}