Skip to content

Commit 672360d

Browse files
committed
Automatic Example Update
1 parent eba1a89 commit 672360d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ exports.default = _react2.default.createClass({
427427
_react2.default.createElement(
428428
_reactBootstrap.Overlay,
429429
{ rootClose: true, onHide: this.handleHide, show: this.state.focused, container: function container() {
430-
return _reactDom2.default.findDOMNode(_this2.refs.overlayContainer);
430+
return _this2.props.calendarContainer || _reactDom2.default.findDOMNode(_this2.refs.overlayContainer);
431431
}, target: function target() {
432432
return _reactDom2.default.findDOMNode(_this2.refs.input);
433433
}, placement: this.props.calendarPlacement, delayHide: 200 },

0 commit comments

Comments
 (0)