diff --git a/portal-frontend/src/app/features/public/search/public-search.component.html b/portal-frontend/src/app/features/public/search/public-search.component.html index 7db89e1d2d..341a983c1b 100644 --- a/portal-frontend/src/app/features/public/search/public-search.component.html +++ b/portal-frontend/src/app/features/public/search/public-search.component.html @@ -127,7 +127,7 @@

Search by one or more of the following fields:

- +
@@ -135,7 +135,7 @@

Search by one or more of the following fields:

-

Search Results

+

Search Results

diff --git a/portal-frontend/src/app/features/public/search/public-search.component.ts b/portal-frontend/src/app/features/public/search/public-search.component.ts index 0c83cc7057..9848c8f051 100644 --- a/portal-frontend/src/app/features/public/search/public-search.component.ts +++ b/portal-frontend/src/app/features/public/search/public-search.component.ts @@ -22,6 +22,7 @@ import { ToastService } from '../../../services/toast/toast.service'; import { MOBILE_BREAKPOINT } from '../../../shared/utils/breakpoints'; import { FileTypeFilterDropDownComponent } from './file-type-filter-drop-down/file-type-filter-drop-down.component'; import { TableChange } from './search.interface'; +import { scrollToElement } from '../../../shared/utils/scroll-helper'; const STATUS_MAP = { 'Received by ALC': 'RECA', @@ -193,6 +194,7 @@ export class PublicSearchComponent implements OnInit, OnDestroy { sessionStorage.setItem(SEARCH_SESSION_STORAGE_KEY, searchDto); this.isLoading = true; + scrollToElement({ id: `searchResults`, center: false }); const result = await this.searchService.search(searchParams); this.searchResultsHidden = false; this.isLoading = false;