mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 20:44:32 -05:00
Fix date picker keyboard navigation regression (#6808)
This commit is contained in:
committed by
GitHub
parent
f71249f510
commit
d8b7e45aaa
@@ -173,7 +173,8 @@ const DatePicker = forwardRef<DatePickerForwardedRef, DatePickerProps>(
|
||||
}
|
||||
},
|
||||
}),
|
||||
[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<HTMLInputElement>) {
|
||||
if (
|
||||
|
||||
6
upcoming-release-notes/6808.md
Normal file
6
upcoming-release-notes/6808.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfixes
|
||||
authors: [MatissJanis]
|
||||
---
|
||||
|
||||
Fix keyboard navigation not working on desktop datepicker
|
||||
Reference in New Issue
Block a user