mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #20376] [CLOSED] fix: Knowledge selector dropdown z-index issue in Folder modal #64443
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/20376
Author: @newnol
Created: 1/5/2026
Status: ❌ Closed
Base:
dev← Head:main📝 Commits (10+)
fe6783cMerge pull request #19030 from open-webui/devfc05e0aMerge pull request #19405 from open-webui/deve3faec6Merge pull request #19416 from open-webui/dev9899293Merge pull request #19448 from open-webui/dev140605eMerge pull request #19462 from open-webui/dev6f1486fMerge pull request #19466 from open-webui/devd95f533Merge pull request #19729 from open-webui/deva7271530.6.43 (#20093)13ef902Fix: Add z-[10000] or similar high z-index to the DropdownMenu.Content class in KnowledgeSelector.svelte.2529277i18n: Vietnamese translation - batch 1 - time formats, counts, channels📊 Changes
2 files changed (+458 additions, -458 deletions)
View changed files
📝
src/lib/components/workspace/Models/Knowledge/KnowledgeSelector.svelte(+1 -1)📝
src/lib/i18n/locales/vi-VN/translation.json(+457 -457)📄 Description
Pull Request Checklist
devbranch.fixChangelog Entry
Description
Fixed the Knowledge selector dropdown appearing behind the Create Folder modal, making it impossible to select knowledge items when creating/editing a folder. The issue was caused by missing z-index on the
DropdownMenu.Contentcomponent in KnowledgeSelector.svelte, while the modal hasz-9999.Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
DropdownMenu.Contentin KnowledgeSelector.svelte did not have a z-index specified. Since bits-ui's DropdownMenu uses a portal to render content outside the normal DOM hierarchy, and the Modal component usesz-9999, the dropdown was rendered behind the modal.z-[10000]to theDropdownMenu.Contentclass to ensure the dropdown appears above the modal.Screenshots or Videos
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.