Skip to content

Calendar doesn't update view with outside click #358

@liborzahradka

Description

@liborzahradka

Hey, when I select date in calendar for example.. June 14th. I do have outside button to set current date, so after click, the calendar will update to the current date but the view will stay on June and doesn't update to current month where selected date is.

  • Version: 3.0.0

const [date, setDate] = useState(new Date());

<Calendar onChange={(value) => setDate(value)} value={date} view="month" showFixedNumberOfWeeks />

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingstale

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions