I am using angular material version 1.1.4, angular version 1.5.9 and I have the following issue with an md-select directive.
I open a dialog using $mdDialog service on a click of a button. The dialog is fullscreen. Inside I have multiple inputs, along with an md-select input. On md-select you can choose multiple items, so it doesn't automatically close after choosing an item from the list. After opening it and selecting the items you desire, you click outside of it to close it and get to the next input, but when used inside an mdDialog window, the click event outside of it doesn't close the md-select.
I searched for this issue, found a few questions but some of them had no answer in months and other questions didn't have a solution for it.
Thank you very much for your time, hopefully you can help me with a clean way to do this. Alternatively I would have to add the click event manually, which I would prefer to avoid.
How I solved the issue:
Credits to User @Lihini. Please refer the answer here at: https://stackoverflow.com/a/46169071/873976
The issue can be resolved by overriding
zindex
ofmd-backdrop
. Just add the following css