From aca6b3f7a335fb6aaa603ba3e8176dccb3ee3579 Mon Sep 17 00:00:00 2001 From: Katie McFaul Date: Tue, 6 Feb 2024 13:04:32 -0500 Subject: [PATCH 1/2] fix(MenuToggle): fix indeterminate checkbox error, toggle click behavior --- packages/react-core/src/components/MenuToggle/MenuToggle.tsx | 1 + .../src/components/MenuToggle/MenuToggleAction.tsx | 5 ++++- .../src/components/MenuToggle/MenuToggleCheckbox.tsx | 5 ++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/react-core/src/components/MenuToggle/MenuToggle.tsx b/packages/react-core/src/components/MenuToggle/MenuToggle.tsx index c330cfee1e3..2d2314abf4b 100644 --- a/packages/react-core/src/components/MenuToggle/MenuToggle.tsx +++ b/packages/react-core/src/components/MenuToggle/MenuToggle.tsx @@ -144,6 +144,7 @@ class MenuToggleBase extends React.Component { styles.modifiers.splitButton, splitButtonOptions?.variant === 'action' && styles.modifiers.action )} + onClick={onClick} > {splitButtonOptions?.items}