Skip to content

Commit ea83b1a

Browse files
authored
Merge pull request #400 from cal-smith/dialog
fix(dialog): position wrong due to scroll x/y
2 parents 1e5e04b + 7404576 commit ea83b1a

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)