diff --git a/components/lib/calendar/Calendar.js b/components/lib/calendar/Calendar.js index 939a5c7cff..bc0db37a6c 100644 --- a/components/lib/calendar/Calendar.js +++ b/components/lib/calendar/Calendar.js @@ -2451,6 +2451,10 @@ export const Calendar = React.memo(React.forwardRef((props, ref) => { } }); + useUpdateEffect(() => { + setCurrentView(props.view); + }, [props.view]) + useUpdateEffect(() => { if (!props.onViewDateChange && !viewStateChanged.current) { let propValue = props.value;