[pickers][DateTimePicker] Layout breaks when no actions are listed #12726
Labels
component: DateTimePicker
The React component.
component: DateTimeRangePicker
The React component
component: pickers
This is the name of the generic UI component, not the React module!
regression
A bug, but worse
Steps to reproduce
Link to live example: CodeSandbox
Steps:
Current behavior
On desktop, that breaks the layout so that the time lists move below the date part of the picker.
Expected behavior
The layout should remain the same and the action bar should just be empty.
Context
Our users were a little confused on the usage of the OK button because it automatically gets accepted with the
closeOnSelect
being set totrue
by default. So, we attempted to remove the OK button, but ran into this styling issue.Your environment
Chrome Version 123.0.6312.106
Search keywords: picker no actions
Order ID: 3012c2f783dce16e8e6ba9d0719f974fTz03OTAzNCxFPTE3MzE5NjEyNTYwMDAsUz1wcmVtaXVtLExNPXN1YnNjcmlwdGlvbixLVj0y
The text was updated successfully, but these errors were encountered: