Skip to content

Commit 1b71dbc

Browse files
committed
fix(ui-date-input): add scrollbar to dateinput v2
1 parent 1967e20 commit 1b71dbc

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

packages/ui-date-input/src/DateInput/v2/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ const DateInput = forwardRef(
300300
shouldContainFocus
301301
shouldReturnFocus
302302
shouldCloseOnDocumentClick
303+
shouldScrollContent
303304
screenReaderLabel={screenReaderLabels.datePickerDialog}
304305
>
305306
<Calendar

packages/ui-popover/src/Popover/v2/styles.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ const generateStyle = (
4343
label: 'popover__scrollContainer',
4444
maxHeight: 'var(--ui-position-available-height, 100vh)',
4545
overflowY: 'auto',
46-
overflowX: 'hidden'
46+
overflowX: 'hidden',
47+
borderRadius: componentTheme.borderRadius
4748
}
4849
}
4950
}

0 commit comments

Comments
 (0)