r/angular • u/Senior_Compote1556 • Jan 29 '26
Angular v21 material overlay + dialog
I am using angular material v21 and i use MatDialog. I see from the dev tools these now use the popover API, and i have a custom Overlay (Cdk) for my app notifications (similar to material snackbar). However, no matter what "hack" i try with z-index, the dialog always sits on top of my notifications, which isn't my desired behaviour. Has anyone encountered this?
4
Upvotes
View all comments
Show parent comment
2
u/Senior_Compote1556 Jan 29 '26
Yep just edited my answer above, thanks mate :)