fix(context menu): Implemented closing of context menu on outside click (#4627)

Co-authored-by: Ibrahim <93064150+IbrahimCSAE@users.noreply.github.com>
This commit is contained in:
Jaseel-trenserandIbrahim authored and GitHub committed 2025-01-03 10:57:05 -05:00
1 parent b7fac6df3e
commit 6b851dfc12
1 file changed
+2
@@ -36,6 +36,7 @@ class UIDialogService extends PubSubService {
isDraggable = true, isDraggable = true,
showOverlay = false, showOverlay = false,
defaultPosition, defaultPosition,
onClickOutside,
}) { }) {
return this.serviceImplementation._create({ return this.serviceImplementation._create({
id, id,
@@ -49,6 +50,7 @@ class UIDialogService extends PubSubService {
isDraggable, isDraggable,
showOverlay, showOverlay,
defaultPosition, defaultPosition,
onClickOutside,
}); });
} }