From 6ab37e2d8addfe132f6be6adfd2d8b0f51f7ca53 Mon Sep 17 00:00:00 2001 From: Richard Park Date: Fri, 3 Jan 2020 14:33:15 +0900 Subject: [PATCH] click event is modified --- .../src/app/layouts/native/components/top-bar.component.html | 2 +- .../src/app/layouts/native/components/top-bar.component.scss | 1 + .../src/app/layouts/native/components/top-bar.component.ts | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html index aff7ba73..c1defa67 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html +++ b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html @@ -220,7 +220,7 @@ diff --git a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.scss b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.scss index a2f312c5..fe7be3a1 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.scss +++ b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.scss @@ -120,6 +120,7 @@ } .myprofile-item { + -webkit-app-region: no-drag; align-items: center; display: flex; transform: translateY(2px); diff --git a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.ts index a31bae3f..8f9fbf82 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.ts +++ b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.ts @@ -250,6 +250,7 @@ export class TopBarComponent implements OnInit, OnDestroy { // }) // ) // .subscribe(); + event.preventDefault(); this.logger.debug('onClickOpenProfile'); return;