Skip to content

Commit 0e4bf07

Browse files
committed
fix(cdk/overlay): hide native backdrop
Explicitly hides the native backdrop from the CDK popover so it doesn't get rendered out. (cherry picked from commit bd52245)
1 parent a4dc30c commit 0e4bf07

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/cdk/overlay/_index.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,11 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
204204
// with `align-self` can break the positioning (see #29809).
205205
inset: auto;
206206

207+
// For the time being we're using our `.cdk-overlay-backdrop` element instead of the native one.
208+
&::backdrop {
209+
display: none;
210+
}
211+
207212
.cdk-overlay-backdrop {
208213
position: fixed;
209214
}

0 commit comments

Comments
 (0)