Skip to content

Commit ac78abe

Browse files
committed
fix(dialog): position wrong due to scroll x/y
1 parent 9237704 commit ac78abe

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/dialog/dialog.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ export class Dialog implements OnInit, AfterViewInit, OnDestroy {
216216
pos = this.addGap[placement](position.findRelative(reference, target, placement));
217217
} else {
218218
pos = this.addGap[placement](position.findAbsolute(reference, target, placement));
219-
pos = position.addOffset(pos, window.scrollY, window.scrollX);
220219
}
221220
return pos;
222221
};

0 commit comments

Comments
 (0)