Skip to content

Commit 2df27db

Browse files
fix: make the search box on the load-data/sources page sticky (#3720)
1 parent 1f6367a commit 2df27db

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/settings/components/LoadDataTabbedPage.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ const shouldPageBeScrollable = (activeTab: string): boolean => {
5252
if (activeTab === 'tokens' && isFlagEnabled('paginatedTokens')) {
5353
return false
5454
}
55+
if (activeTab === 'sources') {
56+
return false
57+
}
5558

5659
return true
5760
}

src/writeData/containers/WriteDataPage.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ const WriteDataPage: FC = () => {
3232
<LoadDataHeader />
3333
<LoadDataTabbedPage activeTab="sources">
3434
<WriteDataSearchBar />
35-
<WriteDataSections />
35+
<Page.Contents scrollable={true}>
36+
<WriteDataSections />
37+
</Page.Contents>
3638
</LoadDataTabbedPage>
3739
</Page>
3840
</WriteDataSearchContext.Provider>

0 commit comments

Comments
 (0)