From e42a698df55615e50f71387ed71d5a3dd710eb88 Mon Sep 17 00:00:00 2001 From: Richard Park Date: Fri, 25 Oct 2019 15:56:03 +0900 Subject: [PATCH] backdrop of context menu is removed --- .../left-sidenav/chat.component.html | 6 +- .../left-sidenav/group.component.html | 14 +- .../components/messages.component.html | 6 +- .../lib/directives/click-outside.directive.ts | 226 ++++++++++++++++++ .../src/lib/ucap-ui.module.ts | 7 +- .../ucap-webmessenger-ui/src/public-api.ts | 1 + 6 files changed, 255 insertions(+), 5 deletions(-) create mode 100644 projects/ucap-webmessenger-ui/src/lib/directives/click-outside.directive.ts diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/chat.component.html b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/chat.component.html index adbd916f..f8990ec3 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/chat.component.html +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/chat.component.html @@ -40,7 +40,11 @@ #chatContextMenuTrigger="matMenuTrigger" [matMenuTriggerFor]="chatContextMenu" > - + @@ -92,7 +94,11 @@ #profileContextMenuTrigger="matMenuTrigger" [matMenuTriggerFor]="profileContextMenu" > - +