Open Hiszpan opened 3 months ago
Describe the bug After update const holding current value calendar still displays old date.
To Reproduce Steps to reproduce the behavior: implement code:
const [current, setCurrent] = useState('1990-01-03'); useEffect(() => { setTimeout(() => { setCurrent('2000-12-09'); }, 2000); }, []); <ModernDatePicker mode='calendar' current={current} />
Expected behavior Calendar should change year and month to 2000-12-09.
Describe the bug After update const holding current value calendar still displays old date.
To Reproduce Steps to reproduce the behavior: implement code:
Expected behavior Calendar should change year and month to 2000-12-09.