From dc2aaae41416e5523785ea8d2cabf2c8c31ed316 Mon Sep 17 00:00:00 2001 From: lyzno1 <92089059+lyzno1@users.noreply.github.com> Date: Tue, 12 Aug 2025 10:37:11 +0800 Subject: [PATCH] feat: add highPriority option to Modal for goto-anything layering (#23783) --- web/app/components/base/modal/index.tsx | 4 +++- web/app/components/goto-anything/index.tsx | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/web/app/components/base/modal/index.tsx b/web/app/components/base/modal/index.tsx index e65f79d21..bb23bc374 100644 --- a/web/app/components/base/modal/index.tsx +++ b/web/app/components/base/modal/index.tsx @@ -15,6 +15,7 @@ type IModal = { children?: React.ReactNode closable?: boolean overflowVisible?: boolean + highPriority?: boolean // For modals that need to appear above dropdowns } export default function Modal({ @@ -27,10 +28,11 @@ export default function Modal({ children, closable = false, overflowVisible = false, + highPriority = false, }: IModal) { return ( - +
= ({ }} closable={false} className='!w-[480px] !p-0' + highPriority={true} >