Open
Description
Describe the bug
Modal is not closing
To Reproduce
Method in my Vue component I call:
deleteConfirm() {
this.$confirm({
auth: true,
message: 'foo',
button: {
yes: 'Yes',
no: 'Cancel'
},
callback: (confirm, password) => {
if (confirm && password === 'danger') {
console.log('BOOOOM!');
} else {
console.log('relax');
}
}
});
}
Expected behavior
After clicking on Cancel or Yes I expect the modal to close.
Additional context
When clicking outside the modal-messagebox (the modal-layer with background-color) the modal gets
more and more transparent - so after maaany clicks its unvisible but I thought it should close itself
directly after a button click.
The console.log spits out the clicks correctly.
Metadata
Metadata
Assignees
Labels
No labels