mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-21 15:36:50 -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 (
|
||||
|
||||
Reference in New Issue
Block a user