Looking for help with Angular as a beginner. I want to create a layout with a fixed toolbar/header at the top of all components, where everything else will be rendered underneath it. However, when using mat-autocomplete and scrolling to the bottom without selecting an option, the autocomplete options are appearing over the header instead of below it like other content.
I've tried adjusting the z-index of the toolbar to 2000 (autocomplete options are at 1000), but the issue persists with the options overlapping the header.
To see the problem in action, check out this link: MatOptions rendered over the MatToolbar
You can also reproduce the problem here: https://stackblitz.com/edit/angular-material-autocomplete-zvys8y?file=app%2Fautocomplete-overview-example.html
Any suggestions on how to solve this issue?