[pickers] AM/PM Behavior in the Calendar control #13693
Labels
component: DateTimePicker
The React component.
component: pickers
This is the name of the generic UI component, not the React module!
component: TimePicker
The React component.
duplicate
This issue or pull request already exists
Steps to reproduce
Link to live example: (required)
https://codesandbox.io/p/sandbox/compassionate-firefly-vs9597
Steps:
Current behavior
When hovering over the AM/PM Column a vertical scrollbar appears when it is not necessary to scroll.
When clicking either AM or PM, the dialog is closed.
Expected behavior
Do not show a vertical scrollbar when hovering over the AM/PM column.
Do not close the dialog when I select AM/PM. Instead rely on the OK button to close the dialog. I may want to pick PM for the current day and then my time.
Context
I was trying to pick a time 2 minutes into the future of the current day for testing a schedule feature in our application when I noticed the behavior. The time was 3:00 pm EDT and I wanted to select 3:02 pm. It was my first time using the control and I picked PM before going to select the time.
I tested in:
Chrome Desktop Version 126.0.6478.114 (Official Build) (64-bit)
Your environment
System: OS: Windows 11 10.0.22631 Binaries: Node: 20.13.1 - ~\AppData\Local\fnm_multishells\19804_1719846675017\node.EXE npm: 10.5.2 - ~\AppData\Local\fnm_multishells\19804_1719846675017\npm.CMD pnpm: Not Found Browsers: Chrome: Not Found Edge: Chromium (126.0.2592.81)npx @mui/envinfo
Search keywords: Calendar AM PM Scrollbar
Search keywords:
The text was updated successfully, but these errors were encountered: