Skip to content

Commit

Permalink
feat(datepicker): change datepicker switch gap timeout to 200ms
Browse files Browse the repository at this point in the history
  • Loading branch information
feyy committed May 16, 2017
1 parent fb25ec1 commit 5b6e78f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class DatePicker extends Component {
allowPointerEvents: true
})
clearTimeout(timeoutId)
}, 500)
}, 200);
}

onDatePicked({action, year, month, day}) {
Expand Down Expand Up @@ -289,7 +289,7 @@ class DatePicker extends Component {
this.props.onOpenModal();
}
}

_renderIcon() {
const {
showIcon,
Expand Down Expand Up @@ -319,8 +319,6 @@ class DatePicker extends Component {
style,
customStyles,
disabled,
showIcon,
iconSource,
minDate,
maxDate,
minuteInterval,
Expand Down

0 comments on commit 5b6e78f

Please sign in to comment.