From 6ad150615d72e6d5e2fc904efc53dece0f886adf Mon Sep 17 00:00:00 2001 From: Chrystian Huot Date: Sun, 2 Feb 2020 09:25:33 -0500 Subject: [PATCH] Fix wrong cdk overlay container when in full screen --- client/src/app/components/rdio-scanner/rdio-scanner.module.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/app/components/rdio-scanner/rdio-scanner.module.ts b/client/src/app/components/rdio-scanner/rdio-scanner.module.ts index 13a3ad5..92eccea 100644 --- a/client/src/app/components/rdio-scanner/rdio-scanner.module.ts +++ b/client/src/app/components/rdio-scanner/rdio-scanner.module.ts @@ -1,3 +1,4 @@ +import { FullscreenOverlayContainer, OverlayContainer } from '@angular/cdk/overlay'; import { NgModule } from '@angular/core'; import { AppSharedModule } from '../../shared/shared.module'; import { AppRdioScannerCallQueryService } from './rdio-scanner-call-query.service'; @@ -19,6 +20,7 @@ import { AppRdioScannerComponent } from './rdio-scanner.component'; AppRdioScannerConfigQueryService, AppRdioScannerSystemsQueryService, AppRdioScannerSystemsSubscriptionService, + { provide: OverlayContainer, useClass: FullscreenOverlayContainer }, ], }) export class AppRdioScannerModule { }