git.99rst.org
/
flatnotes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
e99680f
)
Add closeHandler to Modal mask for closing modal on click outside
author
Adam Dullage
<redacted>
Wed, 8 May 2024 19:29:21 +0000
(20:29 +0100)
committer
Adam Dullage
<redacted>
Wed, 8 May 2024 19:29:21 +0000
(20:29 +0100)
client/components/Modal.vue
patch
|
blob
|
history
diff --git
a/client/components/Modal.vue
b/client/components/Modal.vue
index a094d5c96400077ca4ef7138dca8964cfdfbefa2..c075e99f833e7b20518cf914b52129f703b81c0e 100644
(file)
--- a/
client/components/Modal.vue
+++ b/
client/components/Modal.vue
@@
-3,6
+3,7
@@
<div
v-if="isVisible"
class="fixed left-0 top-0 z-50 flex h-dvh w-dvw items-center justify-center bg-slate-950/40 backdrop-blur-sm"
+ @click.self="closeHandler"
>
<!-- Modal -->
<div
git clone https://git.99rst.org/PROJECT