Skip to content

[pickers] Support calendar/adapter switching #10545

Open
@fakhamatia

Description

@fakhamatia

Summary 💡

I want a dynamic calendar with two calendar type (dateAdapter)
When I click switch button, it's switch calendar. But the month of calendar is not the specific date.
If I close and open again, it's show right month.
How can I re-render view? I use two DatePicker element but with useMemo.

Examples 🌈

CodeSandbox

Screencast.from.2023-10-02.15-33-30.webm

Motivation 🔦

No response

Search keywords: re-render datepicker

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: pickersThis is the name of the generic UI component, not the React module!enhancementThis is not a bug, nor a new featurel10nlocalization

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions