diff --git a/components/lib/calendar/Calendar.js b/components/lib/calendar/Calendar.js index 74b2324395..fcd478f1bb 100644 --- a/components/lib/calendar/Calendar.js +++ b/components/lib/calendar/Calendar.js @@ -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]);