It's TRUE that the overflow
needs to be removed or set to initial
to make position: sticky
works on the child element. I used Material Design in my Angular app and found out that some Material components changed the overflow
value. The fix for my scenario is
mat-sidenav-container, mat-sidenav-content {
overflow: initial;
}