Skip to content

Commit 223e138

Browse files
committed
fix(overlay): reuse passed in open method settings
1 parent f58987a commit 223e138

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/igniteui-angular/src/lib/services/overlay/overlay.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1379,7 +1379,7 @@ describe('igxOverlay', () => {
13791379
overlayInstance.detach(firstCallId);
13801380
}));
13811381

1382-
fit('#15228 - Should use provided in show overlay settings ', fakeAsync(() => {
1382+
it('#15228 - Should use provided in show overlay settings ', fakeAsync(() => {
13831383
const fixture = TestBed.createComponent(SimpleRefComponent);
13841384
fixture.detectChanges();
13851385
const overlayInstance = fixture.componentInstance.overlay;

projects/igniteui-angular/src/lib/services/overlay/overlay.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ export class IgxOverlayService implements OnDestroy {
416416
return;
417417
}
418418
if (settings) {
419-
// TODO: update attach
419+
info.settings = settings;
420420
}
421421
this.updateSize(info);
422422
info.settings.positionStrategy.position(

0 commit comments

Comments
 (0)