npm / @angular/cdk
@angular/cdk
What changed in @angular/cdk 22, from its official release notes, upgrade guides and advisories. Also covers @angular/material. Sources checked 2026-10-22.
3 breaking3 new APIs and options1 behavior and defaults13 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@angular/cdk 2220 changes
Breaking changes 3
Inert elements are now treated as non-focusable.
Overlay no longer uses old prefixes for fullscreen elements.
Temporarily hides getAttachedOverlays from the API.
New APIs and options 3
Allows users to opt into closing overlays on any URL change.
Exports aria injection tokens to support custom subclasses.
Exposes currently open overlays through the Overlay API.
Behavior and default changes 1
Added forms to the CDK peer dependencies.
Fixes and other changes 13
Fixed an error that occurred when the popup was destroyed before the first change detection.
Increased the specificity of datepicker period button styles.
Updated the parse error when a signal forms value stays null.
Bounded dragging uses consistent touch coordinates.
Drag-and-drop no longer uses old prefixes for fullscreen elements.
Ensures the right attribute is set when the accordion is used as a host directive.
Table rows update when row definitions change.
The popup now closes when focus leaves it.
Focus is now moved into the menu when its items are delayed.
Prevents the drawer from getting stuck when toggled rapidly.
Shows a real error message instead of crashing when a table column is missing.
Aria directives now account for shadow DOM.
Focus moves to the root when a focus trap has no focusable elements.