Repository navigation
|
main.js test.vue When I close the dialog, the console will output “default”. If remove Is it a bug or my wrong? |
Replies: 4 comments 9 replies
|
How are you closing the dialog, and what do you expect the return value to be? If you cancel the dialog by pressing the escape key or clicking the background, the When I try using the dialog it correctly reports "default" when canceled and either "cancel" or "ok" when the buttons are pressed. |
@asyncliz This situation seems to only occur on Vue. Example: https://github.com/mai1202/mw-test |
|
Any progress here? |
|
I've upgraded @material/web to the latest version. Then I tried using without Vue, as this:https://github.com/mai1202/mw-test/blob/main/without-vue/index.html . It works. |



I filed #5409 to fix it. Should have a fix out shortly, it's pretty straightforward. You can install with
@material/web@nightlytomorrow.