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:
parent
b7fac6df3e
commit
6b851dfc12
@ -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,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user