diff --git a/packages/desktop-client/src/components/select/DateSelect.tsx b/packages/desktop-client/src/components/select/DateSelect.tsx index b525357a4e..e975271031 100644 --- a/packages/desktop-client/src/components/select/DateSelect.tsx +++ b/packages/desktop-client/src/components/select/DateSelect.tsx @@ -173,7 +173,8 @@ const DatePicker = forwardRef( } }, }), - [onUpdate], + // oxlint-disable-next-line react-hooks/exhaustive-deps + [], ); useLayoutEffect(() => { @@ -316,7 +317,8 @@ function DateSelectDesktop({ setSelectedValue(value); } } - }, [value, onUpdate, dateFormat]); + // oxlint-disable-next-line react-hooks/exhaustive-deps + }, [value, dateFormat]); function onKeyDown(e: KeyboardEvent) { if ( diff --git a/upcoming-release-notes/6808.md b/upcoming-release-notes/6808.md new file mode 100644 index 0000000000..cfe06119f2 --- /dev/null +++ b/upcoming-release-notes/6808.md @@ -0,0 +1,6 @@ +--- +category: Bugfixes +authors: [MatissJanis] +--- + +Fix keyboard navigation not working on desktop datepicker