Skip to content

Incorrect DatePicker dropdown shown #26093

Closed
react-component/picker
#121
@rchavik

Description

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://ant.design/components/date-picker/#components-date-picker-demo-switchable

Steps to reproduce

  1. Choose Quarter from dropdown, select a quarter from the datepicker calendar.
  2. Choose either "Date" or "Week" or "Month", then try to select a date from the datepicker calendar (It still shows the the old Quarter style calendar).

What is expected?

After changing the picker type, the datepicker calendar should be automatically reflected correctly

What is actually happening?

It is showing a previously selected picker type.

Environment Info
antd 4.5.2
React 16.13.1
System Ubuntu 20.04 Desktop
Browser Firefox 79

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions