Skip to content

Commit

Permalink
fix getPopupContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
yiminghe committed Apr 8, 2016
1 parent c1d7d96 commit 470287b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rc-select",
"version": "6.0.4",
"version": "6.0.5",
"description": "React Select",
"keywords": [
"react",
Expand Down
1 change: 1 addition & 0 deletions src/Select.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,7 @@ const Select = React.createClass({
inputElement={this.getInputElement()}
value={state.value}
onDropdownVisibleChange={this.onDropdownVisibleChange}
getPopupContainer={props.getPopupContainer}
onMenuSelect={this.onMenuSelect}
onMenuDeselect={this.onMenuDeselect}
ref="trigger"
Expand Down
1 change: 1 addition & 0 deletions src/SelectTrigger.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ const SelectTrigger = React.createClass({
popup={popupElement}
popupAlign={dropdownAlign}
popupVisible={visible}
getPopupContainer={props.getPopupContainer}
popupClassName={classnames(popupClassName)}
popupStyle={props.dropdownStyle}
>{props.children}</Trigger>);
Expand Down

0 comments on commit 470287b

Please sign in to comment.