Skip to content

Commit 2991d9f

Browse files
authored
fix(ui): automatically close channel input more menu dropdown dynamically on file interactions (open-webui#23684)
1 parent 611fe0c commit 2991d9f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/lib/components/channel/MessageInput/InputMenu.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
type="button"
5252
on:click={() => {
5353
uploadFilesHandler();
54+
show = false;
5455
}}
5556
>
5657
<Clip />
@@ -62,6 +63,7 @@
6263
type="button"
6364
on:click={() => {
6465
screenCaptureHandler();
66+
show = false;
6567
}}
6668
>
6769
<Camera />

0 commit comments

Comments
 (0)