Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
d4339fe7
"src/vscode:/vscode.git/clone" did not exist on "261a53c8b1e24582f72542d47c7110f21934a641"
Commit
d4339fe7
authored
Apr 29, 2024
by
Dom Slee
Browse files
fix: modal should not close when dragging from inside of modal
parent
c9589e21
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/lib/components/common/Modal.svelte
src/lib/components/common/Modal.svelte
+2
-2
No files found.
src/lib/components/common/Modal.svelte
View file @
d4339fe7
...
...
@@ -51,7 +51,7 @@
bind:this={modalElement}
class=" fixed top-0 right-0 left-0 bottom-0 bg-black/60 w-full min-h-screen h-screen flex justify-center z-[9999] overflow-hidden overscroll-contain"
in:fade={{ duration: 10 }}
on:
click
={() => {
on:
mousedown
={() => {
show = false;
}}
>
...
...
@@ -60,7 +60,7 @@
size
)} mx-2 bg-gray-50 dark:bg-gray-900 shadow-3xl"
in:flyAndScale
on:
click
={(e) => {
on:
mousedown
={(e) => {
e.stopPropagation();
}}
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment