Skip to content

Commit 5b6e78f

Browse files
committed
feat(datepicker): change datepicker switch gap timeout to 200ms
1 parent fb25ec1 commit 5b6e78f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ class DatePicker extends Component {
186186
allowPointerEvents: true
187187
})
188188
clearTimeout(timeoutId)
189-
}, 500)
189+
}, 200);
190190
}
191191

192192
onDatePicked({action, year, month, day}) {
@@ -289,7 +289,7 @@ class DatePicker extends Component {
289289
this.props.onOpenModal();
290290
}
291291
}
292-
292+
293293
_renderIcon() {
294294
const {
295295
showIcon,
@@ -319,8 +319,6 @@ class DatePicker extends Component {
319319
style,
320320
customStyles,
321321
disabled,
322-
showIcon,
323-
iconSource,
324322
minDate,
325323
maxDate,
326324
minuteInterval,

0 commit comments

Comments
 (0)