We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce33adc commit 20f744aCopy full SHA for 20f744a
.changeset/polite-crews-accept.md
@@ -0,0 +1,5 @@
1
+---
2
+'@razorpay/blade': patch
3
4
+
5
+fix(blade): datepicker height change issue
packages/blade/src/components/DatePicker/DatePicker.web.tsx
@@ -225,7 +225,11 @@ const DatePicker = <Type extends DateSelectionType = 'single'>({
225
flexDirection="column"
226
gap="spacing.5"
227
padding={{ m: 'spacing.6', s: 'spacing.0' }}
228
+ /* We only need to set height for day picker, for year picker
229
+ or month it should be auto. */
230
+ height={_picker === 'day' ? '447px' : 'auto'}
231
backgroundColor="surface.background.gray.intense"
232
+ justifyContent="space-between"
233
>
234
<Calendar
235
{...props}
0 commit comments