mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-18 10:48:00 -05:00
[PR #18310] [MERGED] fix: prevent integrations menu from closing when valves modal is open #79622
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/18310
Author: @silentoplayz
Created: 10/13/2025
Status: ✅ Merged
Merged: 10/14/2025
Merged by: @tjbck
Base:
dev← Head:fix-integrations-menu-closing-outside-click📝 Commits (1)
4b160d8fix: prevent integrations menu from closing when valves modal is open📊 Changes
3 files changed (+15 additions, -0 deletions)
View changed files
📝
src/lib/components/chat/MessageInput.svelte(+10 -0)📝
src/lib/components/chat/MessageInput/IntegrationsMenu.svelte(+2 -0)📝
src/lib/components/common/Dropdown.svelte(+3 -0)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch. Not targeting thedevbranch may lead to immediate closure of the PR.Changelog Entry
Description
Changed
src/lib/components/common/Dropdown.svelte: Modified to accept acloseOnOutsideClickprop to programmatically control the closing behavior.src/lib/components/chat/MessageInput.svelte: Updated to manage the state of theIntegrationsMenudropdown, disablingcloseOnOutsideClickwhen theValvesModalis open and re-enabling it when the modal is closed.src/lib/components/chat/MessageInput/IntegrationsMenu.svelte: Updated to receive and pass thecloseOnOutsideClickprop to theDropdowncomponent.Fixed
To reproduce what this Pull Request solves (try this before trying to reproduce the issue via this PR):
Open up the

Integrationsmenu via the button in the chat input area:Click

Toolsin theIntegrations menu:Click on the

Valvesbutton for a tool:Once the
Valvesmodal opens, click outside of this modal.Witness that the
Integrationsmenu that was in the background was closed upon the primary click.Click once more. Now the
Valvesmodel that was in the foreground closes upon the secondary click.Additional Information
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.