Fix Table selectAll behavious inside Popover, close #5407

This commit is contained in:
afc163 2017-03-21 16:31:45 +08:00 committed by Benjy Cui
parent fa590e3506
commit 8eb472a466

View File

@ -176,7 +176,10 @@ export default class SelectionCheckboxAll extends React.Component<SelectionCheck
disabled={disabled} disabled={disabled}
onChange={this.handleSelectAllChagne} onChange={this.handleSelectAllChagne}
/> />
<Dropdown overlay={menu}> <Dropdown
overlay={menu}
getPopupContainer={(trigger: HTMLElement) => trigger.parentNode as HTMLElement}
>
<div className={`${selectionPrefixCls}-down`}> <div className={`${selectionPrefixCls}-down`}>
<Icon type="down" /> <Icon type="down" />
</div> </div>