ui5-webcomponents
ui5-webcomponents copied to clipboard
Date & Time picker components have inconsistent view in Compact size
Describe the bug Date & Time picker components have inconsistent view in Compact size mode.
To reproduce Steps to reproduce the behavior:
- In index.html, set the content density to compact size:
class="ui5-content-density-compact"(as described in the documentation)
Isolated example CodeSandbox
Screenshots Compact size can be observed on the second opening of the Date Time Picker component. The same behaviour can be ovserved with the Date Picker.
1st time (Cosy size):

2nd time (Compact size):

The Time Picker and Duration Picker do not seem to change even when Compact mode is enabled:

Context
- UI5 Web Components version: 1.0.0-rc.8
Affected components: Date Picker, Date Time Picker, Duration Picker, Time Picker