Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix search bar empty state not showing ML and video processing status

Anand Baburajan9276a4a7c35b
diff --git a/web/packages/new/photos/components/SearchBar.tsx b/web/packages/new/photos/components/SearchBar.tsx
index 66a2c84b83..44f1db7c96 100644
--- a/web/packages/new/photos/components/SearchBar.tsx
+++ b/web/packages/new/photos/components/SearchBar.tsx
@@ -292,7 +292,7 @@ const SearchInput: React.FC<Omit<SearchBarProps, "onShowSearchInput">> = ({
onInputChange={handleInputChange}
isClearable
escapeClearsValue
- menuIsOpen={isFocused && inputValue !== ""}
+ menuIsOpen={isFocused && (inputValue !== "" || shouldShowEmptyState(""))}
onFocus={handleFocus}
onBlur={handleBlur}
placeholder={t("search_hint")}