Skip to content

[TimePicker]: Remove scroll in the format "hh:mm A" when selecting between AM or PM #45691

Closed
react-component/picker
#692
@mrluisfer

Description

@mrluisfer

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  • Open popUp to select a time
  • Click on PM, (this will move the scroll, making AM hide)

What is expected?

A way, so that the scroll is only done in the hours, but not in AM/PM so that they remain static.

What is actually happening?

Clicking on PM causes AM to hide over it

Environment Info
antd 5.3.0
React 16.8.3
System MacOs Sonoma 14.0
Browser V118.0.5993.70 (arm64)

I was in doubt whether to report it as a Bug or a discussion, but if there is a way to modify the mentioned behavior it would be great, but also to know that this is an expected behavior.

Metadata

Metadata

Assignees

Labels

Inactive🐛 BugAnt Design Team had proved that this is a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions