Skip to content

Commit

Permalink
Fix #3484: Calendar update inputfield if popup is displayed (#3485)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Oct 18, 2022
1 parent 5263678 commit bd2a1ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/calendar/Calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -2489,7 +2489,7 @@ export const Calendar = React.memo(
}, [props.onViewDateChange, props.value]);

useUpdateEffect(() => {
if (previousValue !== props.value && (!viewStateChanged.current || !visible)) {
if (previousValue !== props.value && (!viewStateChanged.current || visible)) {
updateInputfield(props.value);
}
}, [props.value, visible]);
Expand Down

0 comments on commit bd2a1ff

Please sign in to comment.