diff --git a/components/lib/confirmdialog/ConfirmDialog.js b/components/lib/confirmdialog/ConfirmDialog.js index 3692b573f8..640afbe92e 100644 --- a/components/lib/confirmdialog/ConfirmDialog.js +++ b/components/lib/confirmdialog/ConfirmDialog.js @@ -105,7 +105,7 @@ export const ConfirmDialog = React.memo( }; const confirm = (updatedProps) => { - if (updatedProps.tagKey === props.tagKey) { + if (updatedProps.tagKey === props.tagKey && (updatedProps.group === undefined || updatedProps.group === props.group)) { const isVisibleChanged = visibleState !== updatedProps.visible; const targetChanged = getPropValue('target') !== updatedProps.target;