Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit f4050c3

Browse files
swseverancejelbourn
authored andcommitted
fix: missing import for PortalModule (#582)
There are some examples that depend on the `PortalModule` and they break if they're forked into a Stackblitz, because we don't import the `PortalModule` directly anywhere. Fixes angular/components#15175
1 parent b9d02b3 commit f4050c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/assets/stackblitz/material-module.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import {A11yModule} from '@angular/cdk/a11y';
22
import {DragDropModule} from '@angular/cdk/drag-drop';
3+
import {PortalModule} from '@angular/cdk/portal';
34
import {ScrollingModule} from '@angular/cdk/scrolling';
45
import {CdkStepperModule} from '@angular/cdk/stepper';
56
import {CdkTableModule} from '@angular/cdk/table';
@@ -85,6 +86,7 @@ import {
8586
MatToolbarModule,
8687
MatTooltipModule,
8788
MatTreeModule,
89+
PortalModule,
8890
ScrollingModule,
8991
]
9092
})

0 commit comments

Comments
 (0)