diff --git a/apps/ui/src/components/ui/path-input.tsx b/apps/ui/src/components/ui/path-input.tsx index 73eefd7c..c748d867 100644 --- a/apps/ui/src/components/ui/path-input.tsx +++ b/apps/ui/src/components/ui/path-input.tsx @@ -226,6 +226,7 @@ function PathInput({ // Close search with Escape key if (e.key === 'Escape' && isSearchOpen) { e.preventDefault(); + e.stopPropagation(); // Stop propagation so parent modal doesn't close setIsSearchOpen(false); } };