diff --git a/src/app/components/dialog/dialog.ts b/src/app/components/dialog/dialog.ts index 285a62a972a..7da32e26b51 100755 --- a/src/app/components/dialog/dialog.ts +++ b/src/app/components/dialog/dialog.ts @@ -737,7 +737,7 @@ export class Dialog implements AfterContentInit, OnInit, OnDestroy { this.lastPageX = event.pageX; this.container.style.left = `${leftPos}px`; this.lastPageY = event.pageY; - this.container.style.top = `${leftPos}px`; + this.container.style.top = `${topPos}px`; } } } @@ -1016,4 +1016,4 @@ export class Dialog implements AfterContentInit, OnInit, OnDestroy { exports: [Dialog, SharedModule], declarations: [Dialog] }) -export class DialogModule {} \ No newline at end of file +export class DialogModule {}