docs: document overlay stacking change in v21 update guide

This commit is contained in:
lazerg
2026-07-28 15:22:03 +05:00
committed by Jessica Janiuk
parent 32815d5472
commit ae303c4a05
@@ -2781,6 +2781,15 @@ export const RECOMMENDATIONS: Step[] = [
step: 'update @angular/material',
action: 'Run `ng update @angular/material@21`.',
},
{
possibleIn: 2100,
necessaryAsOf: 2100,
level: ApplicationComplexity.Medium,
material: true,
step: '21.0.0-cdk-overlay-top-layer-stacking',
action:
"CDK overlays can now render in the browser's native top layer, causing elements that previously appeared above Material overlays via `z-index` to render beneath them. You can restore the previous behavior by providing `OVERLAY_DEFAULT_CONFIG` from `@angular/cdk/overlay` with the value `{usePopover: false}`.",
},
{
possibleIn: 2100,
necessaryAsOf: 2100,