material icon indicating copy to clipboard operation
material copied to clipboard

Promise returned from $mdDialog.show() is resolved immediately

Open PezzerDev opened this issue 11 years ago • 2 comments

According to the documentation, $mdDialog.show() returns "A promise that can be resolved with $mdDialog.hide() or rejected with $mdDialog.cancel()." Contrarily, the promise returned from $mdDialog.show() is being resolved immediately, without any call to $mdDialog.cancel() or $mdDialog.hide().

PezzerDev avatar Oct 06 '15 15:10 PezzerDev

@topherfangio - can you investigate ?

ThomasBurleson avatar Oct 06 '15 15:10 ThomasBurleson

My mistake... I'm not sure what I was doing wrong previously, but everything seems to be working properly.

PezzerDev avatar Oct 06 '15 15:10 PezzerDev