Reproduction link

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.
Reproduction link
Steps to reproduce
PM, (this will move the scroll, makingAMhide)What is expected?
A way, so that the scroll is only done in the hours, but not in
AM/PMso that they remain static.What is actually happening?
Clicking on
PMcausesAMto hide over itI 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.