From ad2e78ce806c7686fc5f6e99cc23d9dc3b380122 Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 3 Aug 2015 17:39:29 +0800 Subject: [PATCH] fix #94 --- components/datepicker/index.jsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/datepicker/index.jsx b/components/datepicker/index.jsx index 062842b021..228a38e4f1 100644 --- a/components/datepicker/index.jsx +++ b/components/datepicker/index.jsx @@ -69,12 +69,14 @@ export default React.createClass({ disabled={this.props.disabled} trigger={} calendar={calendar} - adjustOrientOnCalendarOverflow={false} + adjustOrientOnCalendarOverflow={true} formatter={new DateTimeFormat(this.props.format)} value={this.state.value} prefixCls="ant-calendar-picker" onChange={this.handleChange}> - + ); }