material
material copied to clipboard
autocomplete: interaction with dialog's md-scroll-mask blocks the UI
In some situations where md-autocomplete
is used inside md-dialog
, whenever mdAutocomplete closes the suggestion menu, it removes the dialog's md-scroll-mask
element! This results in blocking UI the next time a dialog is opened and closed.
this example on plunker demonestrates one scenario in which the problem happens.
It's a critical bug in a sense that it cause a complete UI block, and the user needs to refresh the page!
I suspect the root of the bug is in $mdUtil
helper functions which deal with md-scroll-mask
($mdUtil.disableScrollAround
for example)
I am facing a similar issue. When I open a selec & close itt, it sometimes doesn't remove the md-mask. Any Workaround for this?
@GeorgeChackungal Had a similar issue in my recent project, a workround of removing div with class name md-scroll-mask has been implemented and is working fine so far Using setTimeout may be another option, if situation allowed.
Can confirm same still happens in version 1.2.0 in combination with datepicker.