material icon indicating copy to clipboard operation
material copied to clipboard

autocomplete: interaction with dialog's md-scroll-mask blocks the UI

Open alirezamirian opened this issue 8 years ago • 3 comments

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)

alirezamirian avatar Dec 13 '16 14:12 alirezamirian

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 avatar Feb 17 '17 16:02 GeorgeChackungal

@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.

ICEFIR avatar May 08 '17 22:05 ICEFIR

Can confirm same still happens in version 1.2.0 in combination with datepicker.

Moonglasses avatar Sep 24 '20 06:09 Moonglasses