Skip to content

Commit

Permalink
fix(grid): fix drag: changed cdkDragRootElement from .mat-dialog-cont…
Browse files Browse the repository at this point in the history
…ainer .cdk-overlay-pane
  • Loading branch information
xmlking committed Nov 12, 2018
1 parent 4128c78 commit 92153e6
Show file tree
Hide file tree
Showing 5 changed files with 230 additions and 582 deletions.
2 changes: 1 addition & 1 deletion libs/chat-box/src/lib/chat-box.component.html
Expand Up @@ -8,7 +8,7 @@

<mat-toolbar fxFlex fxLayout="row" fxLayoutAlign="start center"
class="header mat-elevation-z2" color="primary"
cdkDragHandle>
cdkDragHandle style="cursor: move">
<span fxFlex>ChatBox</span>
<span fxFlex="grow"><!-- fill space --></span>
<!--<ngx-led color="orange" size="10px" [blink]=true></ngx-led>-->
Expand Down
1 change: 1 addition & 0 deletions libs/core/src/lib/state/eventbus.ts
Expand Up @@ -46,6 +46,7 @@ export class EventBus {
.pipe(ofActionSuccessful(WebSocketDisconnected))
.subscribe(action => console.log('WebSocketDisconnected........Action Successful'));

// FIXME : https://github.com/ngxs/store/issues/542
this.actions$
.pipe(
ofActionSuccessful(RouterNavigation),
Expand Down
@@ -1,4 +1,4 @@
<h1 mat-dialog-title cdkDrag cdkDragHandle cdkDragRootElement=".mat-dialog-container" style="cursor: move">{{title}}</h1>
<h1 mat-dialog-title cdkDrag cdkDragHandle cdkDragRootElement=".cdk-overlay-pane" style="cursor: move">{{title}}</h1>

<form [formGroup]="entityForm" (ngSubmit)="submit()">
<mat-dialog-content>
Expand Down

0 comments on commit 92153e6

Please sign in to comment.