Skip to content

Datepicker 组建 mode 参数为 'year' 时无法选择年份 #11938

@fuzhongfeng

Description

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

Version

3.8.4

Environment

codepen 平台 Datepicker 组建

Reproduction link

https://ant.design/components/date-picker-cn/#header

Steps to reproduce

codepen 平台 Datepicker 组建 mode 参数为 "year" 时,可以选择点击并弹出“年”选择面板,但是选择某一年(如2012)之后不能关闭,进而无法选择

What is expected?

可以选择年份

What is actually happening?

不能选择年份


官方给出的 codepen 例子

Metadata

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