From e892bb024bd4e622c5acd4ce09c6a19ed90c460c Mon Sep 17 00:00:00 2001 From: Per Fryking Date: Mon, 17 Feb 2025 11:26:30 +0100 Subject: [PATCH] fix(chip): stop propagation of cancel When closing the menu for the action menu the cancel event was never stopped. This cancel event eventually bubbled all the way up to the object creation dialog effectively closing it upon a scrim click of the action menu. This fix stops the propagation of the cancel event following a close of the action menu dialog. fixes: Lundalogik/crm-feature#4613 --- src/components/chip/chip.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/chip/chip.tsx b/src/components/chip/chip.tsx index 1ce78f2d67..18b8cfd84d 100644 --- a/src/components/chip/chip.tsx +++ b/src/components/chip/chip.tsx @@ -351,6 +351,7 @@ export class Chip implements ChipInterface { items={menuItems} onSelect={this.handleActionMenuSelect} openDirection="bottom-end" + onCancel={this.handleActionMenuCancel} >