Skip to content

Commit bda230c

Browse files
committed
fix(suite): stop propagation whenever labelling button is clicked
1 parent b7ab377 commit bda230c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/suite/src/components/suite/labeling/MetadataLabeling/MetadataLabeling.tsx

+1-4
Original file line numberDiff line numberDiff line change
@@ -411,10 +411,7 @@ export const MetadataLabeling = ({
411411
showActionButton && (!payload.value || (payload.value && pending));
412412

413413
return (
414-
<LabelContainer
415-
data-testid={labelContainerDataTest}
416-
onClick={e => editActive && e.stopPropagation()}
417-
>
414+
<LabelContainer data-testid={labelContainerDataTest} onClick={e => e.stopPropagation()}>
418415
{payload.type === 'outputLabel' ? (
419416
<>
420417
<ButtonLikeLabelWithDropdown

0 commit comments

Comments
 (0)