Skip to content

Commit

Permalink
UIHAADM-98: Display Datepicker in full view (#60)
Browse files Browse the repository at this point in the history
* UIHAADM-98: Display Datepicker in full view

* Update changelog
  • Loading branch information
mkuklis authored Dec 4, 2023
1 parent 6ff3e38 commit eba0eee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* Sort jobs in descending order by start date. Fixes UIHAADM-94.
* Paginate list of jobs. Fixes UIHAADM-95.
* Improve DatePicker setup. Fixes UIHAADM-69.
* Display `<Datepicker>` in full view by using `usePortal`. Fixes UIHAADM-98.

## [2.0.0](https://github.com/folio-org/ui-harvester-admin/tree/v2.0.0) (2023-10-13)

Expand Down
2 changes: 2 additions & 0 deletions src/search/renderDateFilterPair.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ function renderSingleDateFilter(intl, filterStruct, updateQuery, field, boundary
updateQuery({ filters: deparseFilters(fs2) });
}}
useInput
usePortal
placement="right"
/>
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/views/Jobs/Jobs.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function Jobs({
<Paneset id="jobs-paneset">
<JobsSearchPane
{...sasqParams}
defaultWidth="25%"
defaultWidth="20%"
query={query}
updateQuery={updateQuery}
/>
Expand Down

0 comments on commit eba0eee

Please sign in to comment.