Bugfix: prevent issue with modal dialog supported Esc key to close

This commit is contained in:
the-djmaze 2022-09-06 19:22:53 +02:00
parent 2627a16c36
commit 8cdce0c302
2 changed files with 16 additions and 4 deletions

View file

@ -62,9 +62,9 @@ export class AbstractViewPopup extends AbstractView
shortcuts.add('escape,close', '', name, () => {
if (this.modalVisible() && false !== this.onClose()) {
this.close();
return false;
}
return true;
return false;
// return true; Issue with supported modal close
});
}