Skip to content

Commit c55b78e

Browse files
crisbetoandrewseguin
authored andcommitted
fix(overlay): provide fullscreen overlay container in root (#14091)
Similarly to the base overlay container, provides the fullscreen overlay container in the root.
1 parent 16dd44e commit c55b78e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cdk/overlay/fullscreen-overlay-container.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {DOCUMENT} from '@angular/common';
1818
*
1919
* Should be provided in the root component.
2020
*/
21-
@Injectable()
21+
@Injectable({providedIn: 'root'})
2222
export class FullscreenOverlayContainer extends OverlayContainer implements OnDestroy {
2323
private _fullScreenEventName: string | undefined;
2424
private _fullScreenListener: () => void;

0 commit comments

Comments
 (0)