Skip to content

Commit d720ab8

Browse files
committed
fix(overlay): reuse passed in open method settings
1 parent dc2eb7d commit d720ab8

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
@@ -411,7 +411,7 @@ export class IgxOverlayService implements OnDestroy {
411411
return;
412412
}
413413
if (settings) {
414-
// TODO: update attach
414+
info.settings = settings;
415415
}
416416
this.updateSize(info);
417417
info.settings.positionStrategy.position(

0 commit comments

Comments
 (0)