diff --git a/packages/react-core/src/components/Toolbar/ToolbarFilter.tsx b/packages/react-core/src/components/Toolbar/ToolbarFilter.tsx index c4fdceb45f9..e15896e93f1 100644 --- a/packages/react-core/src/components/Toolbar/ToolbarFilter.tsx +++ b/packages/react-core/src/components/Toolbar/ToolbarFilter.tsx @@ -134,9 +134,7 @@ class ToolbarFilter extends React.Component {showToolbarItem && {children}} - {chipGroupContentRef && - chipGroupContentRef?.current !== null && - chipGroupContentRef.current?.firstElementChild !== null && + {chipGroupContentRef?.current?.firstElementChild && ReactDOM.createPortal(chipGroup, chipGroupContentRef.current.firstElementChild)} );