Clicking on the backdrop will work on all kind of modals
This commit is contained in:
parent
ed73c6e5cf
commit
3406911d1e
2 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
class="mod-modal"
|
class="mod-modal"
|
||||||
:class="{ peek: modalPeeked }"
|
:class="{ peek: modalPeeked }"
|
||||||
:no-background="modalPeeked"
|
:no-background="modalPeeked"
|
||||||
|
@backdropClicked="closeModal"
|
||||||
>
|
>
|
||||||
<div class="mod-modal-panel panel">
|
<div class="mod-modal-panel panel">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
class="settings-modal"
|
class="settings-modal"
|
||||||
:class="{ peek: modalPeeked }"
|
:class="{ peek: modalPeeked }"
|
||||||
:no-background="modalPeeked"
|
:no-background="modalPeeked"
|
||||||
|
@backdropClicked="closeModal"
|
||||||
>
|
>
|
||||||
<div class="settings-modal-panel panel">
|
<div class="settings-modal-panel panel">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
|
|
Loading…
Reference in a new issue