Skip to content

Commit 00ab706

Browse files
committed
Fix Calendar closing on value selection even if closeWidgets was set to false
1 parent 8402aa4 commit 00ab706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DateTimePicker.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ export default class DateTimePicker extends PureComponent {
337337
>
338338
<Calendar
339339
className={calendarClassName}
340-
onChange={this.onDateChange}
340+
onChange={(value) => this.onDateChange(value)}
341341
value={value || null}
342342
{...calendarProps}
343343
/>

0 commit comments

Comments
 (0)