Skip to content

Commit

Permalink
Set menu popup container
Browse files Browse the repository at this point in the history
  • Loading branch information
yesmeck committed Feb 26, 2018
1 parent 2e4ba57 commit 6badda3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Dropdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ export default class Dropdown extends Component {
const extraOverlayProps = {
prefixCls: `${prefixCls}-menu`,
onClick: this.onClick,
getPopupContainer: () => this.getPopupDomNode(),
};
if (typeof overlay.type === 'string') {
delete extraOverlayProps.prefixCls;
Expand Down

0 comments on commit 6badda3

Please sign in to comment.