From 48e49f3a3fb9e5d602ddd9fe44a4023ead7b10f6 Mon Sep 17 00:00:00 2001
From: Rayane Djouah <77965000+rayane-djouah@users.noreply.github.com>
Date: Fri, 4 Oct 2024 15:39:40 +0100
Subject: [PATCH] Fix: Saved search - Saved search list is not scrollable when
there is a long list
---
src/pages/Search/SearchPageBottomTab.tsx | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/src/pages/Search/SearchPageBottomTab.tsx b/src/pages/Search/SearchPageBottomTab.tsx
index 38e4c5166884..c72462d1f66e 100644
--- a/src/pages/Search/SearchPageBottomTab.tsx
+++ b/src/pages/Search/SearchPageBottomTab.tsx
@@ -102,12 +102,12 @@ function SearchPageBottomTab() {
isCustomSearchQuery={shouldUseNarrowLayout && !SearchUtils.isCannedSearchQuery(queryJSON)}
/>
-
-
- {shouldUseNarrowLayout && (
+ {shouldUseNarrowLayout ? (
+
+
- )}
-
+
+ ) : (
+
+ )}
>
) : (